diff adslstats.py @ 7:98d351a87043

merge
author Daniel O'Connor <darius@dons.net.au>
date Sat, 08 Feb 2014 09:21:57 +1030
parents 671e66da2cb9 3748cec0e322
children e69ad89061dc
line wrap: on
line diff
--- a/adslstats.py	Sat Feb 08 09:19:20 2014 +1030
+++ b/adslstats.py	Sat Feb 08 09:21:57 2014 +1030
@@ -89,13 +89,6 @@
                                               self.nmup, self.nmdown,
                                               self.attenup, self.attendown)
 
-def cleannum(s):
-    s1 = matchnum.match(s).groups()[0]
-    try:
-        return int(s1)
-    except ValueError:
-        return float(s1)
-    
 def getstats(f):
     s = BeautifulSoup(f)
     a = s.findAll('tr')