changeset 22:b763ca084088 draft

import gamin in __main__ Signed-off-by: Changaco <changaco ατ changaco δοτ net>
author Changaco <changaco ατ changaco δοτ net>
date Sat, 04 Aug 2012 15:00:05 +0200
parents 3ecfeaba3c92
children 5bb7c2939da0
files feed-push
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/feed-push
+++ b/feed-push
@@ -29,7 +29,6 @@ import time
 import traceback
 
 import feedparser
-import gamin
 
 
 # Constants
@@ -309,6 +308,7 @@ if __name__ == '__main__':
         state.update(json.loads(saved_state))
     del saved_state
 
+    import gamin
     monitor = gamin.WatchMonitor()
     path_to_feed_fd = {}
     path_to_config_fd = {}