Skip to content
This repository
Browse code

less verbose and ignored sqlite db

  • Loading branch information...
commit 9756de0e122bf2e8ac1f0f9c2b39a183a0294a38 1 parent 2779157
tuxskar authored December 04, 2012
2  .gitignore
@@ -4,3 +4,5 @@
4 4
 .project*
5 5
 .pydevproject*
6 6
 .settings
  7
+leyenorden.db
  8
+*.swo
2  src/models/Models.py
@@ -49,8 +49,6 @@ def get_session(user = None, password = None, echo=False, sqlite=True):
49 49
     if sqlite:
50 50
         engine = create_engine("sqlite:///leyenorden.db" , echo=echo)
51 51
     else:
52  
-        print user
53  
-        print password
54 52
         engine = create_engine("mysql://"+user+":"+password+"@localhost/leyenorden" , echo=echo)
55 53
     Base.metadata.create_all(engine)
56 54
     return sessionmaker(engine)()

0 notes on commit 9756de0

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