Removed print statements, these were for my debugging only.

This commit is contained in:
Bill Dengler 2015-05-02 03:49:47 -04:00
parent c7719545ac
commit aca2292637

View File

@ -367,7 +367,6 @@ class Session(object):
try: try:
shelf=shelve.open(paths.config_path(shelfname),'c') shelf=shelve.open(paths.config_path(shelfname),'c')
for key,value in self.db.items(): for key,value in self.db.items():
print(key)
if type(key) != str or type(key) != unicode: if type(key) != str or type(key) != unicode:
output.speak("Uh oh, while shelving the database, a key of type " + type(key) + " has been found. It will be converted to type str, but this will cause all sorts of problems on deshelve. Please bring this to the attention of the " + application.name + " developers immediately. More information about the error will be written to the error log.") output.speak("Uh oh, while shelving the database, a key of type " + type(key) + " has been found. It will be converted to type str, but this will cause all sorts of problems on deshelve. Please bring this to the attention of the " + application.name + " developers immediately. More information about the error will be written to the error log.")
log.error("Uh oh, " + str(key) + " is of type " + type(key) + "!") log.error("Uh oh, " + str(key) + " is of type " + type(key) + "!")