Add special handling for empty strings
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 19 Jul 2009 20:04:12 +0000 (22:04 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 19 Jul 2009 20:04:12 +0000 (22:04 +0200)
test/test-manager

index 3383523..814f7ea 100755 (executable)
@@ -74,6 +74,12 @@ for key in properties.keys():
                        print "    true"
                else:
                        print "    false"
+       elif key in ["DefaultTechnology"]:
+               print "%s" % (key)
+               if properties[key] == "":
+                       print "    <none>"
+               else:
+                       print "    %s" % (properties[key])
        else:
                print "%s" % (key)
                print "    %s" % (properties[key])