Skip to content

Commit

Permalink
Adding if __name__ == '__main__' cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbaker committed Jun 1, 2010
1 parent 4e7bc38 commit 083de4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nanny.py
Expand Up @@ -435,3 +435,6 @@ def main():
finally:
if client is not None:
client.close()

if __name__ == '__main__':
main()

0 comments on commit 083de4d

Please sign in to comment.