Added temporary CLI status indicator
authorEugene Gagarin <mosfet07@ya.ru>
Thu, 30 Apr 2009 10:40:34 +0000 (14:40 +0400)
committerEugene Gagarin <mosfet07@ya.ru>
Thu, 30 Apr 2009 10:40:34 +0000 (14:40 +0400)
src/files/search.py

index 8215d35..6414308 100755 (executable)
@@ -73,6 +73,8 @@ class Abstraction(object):
 
 class Cli_Presentation(object):
     def __init__(self, config, start_func):
+        import time; global time
+
         self.start_func = start_func
 
         self.outtype = config['outtype']
@@ -93,7 +95,11 @@ class Cli_Presentation(object):
         out_submodule.Cli_Presentation(results).toplevel
 
     def show_current_status(self, current_path):
-        pass
+        #pass
+        print '|' + '\r',
+        print '/' + '\r',
+        print '-' + '\r',
+        print '\\' + '\r',
         ### print current_path
 
     def run(self):