diff options
author | Gustavo Duarte <gduarte@activitycentral.com> | 2012-12-27 05:02:41 (GMT) |
---|---|---|
committer | Gustavo Duarte <gduarte@activitycentral.com> | 2012-12-27 05:02:41 (GMT) |
commit | 0780fba5c497672be26029ee726803b11ac5f563 (patch) | |
tree | 07569f21efcbd18a8fba614cfa9f7c622836a65a | |
parent | 92f7edf33be485a454edf601736176bef7d5bb05 (diff) |
get out some printf for debugging
-rw-r--r-- | INSTALL | 2 | ||||
-rw-r--r-- | build/lib.linux-x86_64-2.7/stats_consolidation/db.py | 1 | ||||
-rw-r--r-- | src/stats_consolidation/db.py | 1 |
3 files changed, 1 insertions, 3 deletions
@@ -7,6 +7,6 @@ Install Instructions For example: To run every day at 3 AM hs -0 3 * * * root path_to_consolidation --db_user=root --db_pass=my_pass db_name=statistics /home/ceibal/sugar-stats/rrd +0 3 * * * root consolidation_run --db_user=root --db_pass=my_pass db_name=statistics rrd_path=/home/ceibal/sugar-stats/rrd log_path=/var/log diff --git a/build/lib.linux-x86_64-2.7/stats_consolidation/db.py b/build/lib.linux-x86_64-2.7/stats_consolidation/db.py index 84a9234..33b42c3 100644 --- a/build/lib.linux-x86_64-2.7/stats_consolidation/db.py +++ b/build/lib.linux-x86_64-2.7/stats_consolidation/db.py @@ -208,7 +208,6 @@ class DB_Stats: def connect (self): - print ("Try connect to db") try: self.cnx = mysql.connector.connect(user=self.user, password=self.password) cursor = self.cnx.cursor() diff --git a/src/stats_consolidation/db.py b/src/stats_consolidation/db.py index 84a9234..33b42c3 100644 --- a/src/stats_consolidation/db.py +++ b/src/stats_consolidation/db.py @@ -208,7 +208,6 @@ class DB_Stats: def connect (self): - print ("Try connect to db") try: self.cnx = mysql.connector.connect(user=self.user, password=self.password) cursor = self.cnx.cursor() |