Permalink
Browse files

Fix a few nits (unused var, readme cleanup, commented code removal)

  • Loading branch information...
1 parent 12a6ca6 commit d922a178f982b6202a92a480bdbd4faeba87992b @ehren committed Mar 19, 2012
Showing with 2 additions and 15 deletions.
  1. +2 −2 README
  2. +0 −1 groupdead.py
  3. +0 −12 presentdead.py
View
4 README
@@ -4,7 +4,7 @@ GCC 4.5
Dehydra https://developer.mozilla.org/En/Dehydra/
-Python 2.6
+Python >= 2.6
sqlite3
@@ -18,7 +18,7 @@ Build patched GCC:
# obtain GCC 4.5.3 (see http://gcc.gnu.org/mirrors.html for alternate mirrors)
wget http://www.netgull.com/gcc/releases/gcc-4.5.3/gcc-4.5.3.tar.bz2
-tar -jxvf gcc-4.3.0.tar.bz2
+tar -jxvf gcc-4.5.3.tar.bz2
# apply PLUGIN_FINISH_DECL patch
cd gcc-4.5.3
View
@@ -14,7 +14,6 @@ def groupdead(cursor):
print "id: %d, %d / %d" %(id, i, count)
i = i + 1
- sets_with_node = []
node_set = set([id])
for s in components:
if id in s:
View
@@ -63,18 +63,6 @@ def num_hidden(cursor, componentID):
return hidden
def generate_search(cursor, locprefix, directory):
-# cursor.execute("SELECT componentID, size, group_concat(replace(loc, '%s', ''), ', ') FROM unused u JOIN node n ON (u.id = n.id) GROUP BY componentID" % (locprefix,));
-
-# cursor.execute("SELECT componentID, size, group_concat(replace(loc, '%s', ''), ', ')
-# FROM
-# (
-# SELECT distinct componentID, size, loc
-# FROM
-# unused u
-# JOIN node n ON (u.id = n.id)
-# )
-# GROUP BY componentID" % (locprefix,));
-
print('generating search...')
components = []

0 comments on commit d922a17

Please sign in to comment.