Permalink
Browse files

removed comments

  • Loading branch information...
1 parent 6c96645 commit 499888630f165e7a006677480ae2b531bf6f0a98 @mikahanninen mikahanninen committed Feb 19, 2013
Showing with 0 additions and 6 deletions.
  1. +0 −6 rfgen.py
View
@@ -55,13 +55,9 @@ def _choice(self, theArray, capitalize=False, prefix=""):
def _get_random_name(self, prefix=""):
return self._choice(words, capitalize=True, prefix=prefix)
- #random_name = words[self.random.randint(0,self.len_of_words-1)].strip().capitalize()
- #return "%s%s" % (prefix, random_name)
def _get_random_verb(self, prefix=""):
return self._choice(verbs, capitalize=False, prefix=prefix)
- #verb = verbs[self.random.randint(0, self.len_of_verbs-1)].strip()
- #return "%s%s" % (prefix, verb)
def _get_random_int(self, start, end):
return self.random.randint(start,end)
@@ -125,8 +121,6 @@ def write(self, text):
self.lib_file.write(text)
def close(self):
- global db_connection
-
db_connection.commit()
self.write("myinstance = %s()" % self.lib_name)
self.lib_file.close()

0 comments on commit 4998886

Please sign in to comment.