Skip to content

Commit

Permalink
[#2302] Fix reset print error
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Aug 2, 2012
1 parent 1a83a77 commit 1949dd4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ckan/model/system_info.py
Expand Up @@ -38,9 +38,7 @@ def get_system_info(key, default=None):
def delete_system_info(key, default=None):
''' delete data from system_info table '''
obj = meta.Session.query(SystemInfo).filter_by(key=key).first()
print key
if obj:
print obj
meta.Session.delete(obj)
meta.Session.commit()

Expand Down

0 comments on commit 1949dd4

Please sign in to comment.