Author: dmeyer
Date: Mon Sep 24 15:57:06 2007
New Revision: 2834

Log:
special handling for attr search

Modified:
   trunk/beacon/bin/beacon-search

Modified: trunk/beacon/bin/beacon-search
==============================================================================
--- trunk/beacon/bin/beacon-search      (original)
+++ trunk/beacon/bin/beacon-search      Mon Sep 24 15:57:06 2007
@@ -97,6 +97,12 @@
         print 'No results.'
         return
 
+    # special handling for attr search
+    if isinstance(results[0], (str, unicode)):
+        for r in results:
+            print r
+        return
+    
     # Get terminal dimensions
     try:
         h, w = struct.unpack('hh', fcntl.ioctl(sys.stdin.fileno(), 
termios.TIOCGWINSZ, 'xxxx'))

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to