Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

removed comments

  • Loading branch information...
commit 499888630f165e7a006677480ae2b531bf6f0a98 1 parent 6c96645
Mika Hänninen authored February 19, 2013

Showing 1 changed file with 0 additions and 6 deletions. Show diff stats Hide diff stats

  1. 6  rfgen.py
6  rfgen.py
@@ -55,13 +55,9 @@ def _choice(self, theArray, capitalize=False, prefix=""):
55 55
 
56 56
     def _get_random_name(self, prefix=""):
57 57
         return self._choice(words, capitalize=True, prefix=prefix)
58  
-        #random_name = words[self.random.randint(0,self.len_of_words-1)].strip().capitalize()
59  
-        #return "%s%s" % (prefix, random_name)
60 58
 
61 59
     def _get_random_verb(self, prefix=""):
62 60
         return self._choice(verbs, capitalize=False, prefix=prefix)
63  
-        #verb = verbs[self.random.randint(0, self.len_of_verbs-1)].strip()
64  
-        #return "%s%s" % (prefix, verb)
65 61
 
66 62
     def _get_random_int(self, start, end):
67 63
         return self.random.randint(start,end)
@@ -125,8 +121,6 @@ def write(self, text):
125 121
         self.lib_file.write(text)
126 122
 
127 123
     def close(self):
128  
-        global db_connection
129  
-
130 124
         db_connection.commit()
131 125
         self.write("myinstance = %s()" % self.lib_name)
132 126
         self.lib_file.close()

0 notes on commit 4998886

Please sign in to comment.
Something went wrong with that request. Please try again.