diff roundup/rest.py @ 5682:e8ac82b8d074

Fix parse of @fields/@attrs with : as separator. Add tests @verbose and @fields.
author John Rouillard <rouilj@ieee.org>
date Sat, 30 Mar 2019 16:13:50 -0400
parents 6457fd696a43
children 4b4885f0c6ad
line wrap: on
line diff
--- a/roundup/rest.py	Sat Mar 30 00:19:37 2019 -0400
+++ b/roundup/rest.py	Sat Mar 30 16:13:50 2019 -0400
@@ -583,7 +583,7 @@
             elif key == "@fields" or key == "@attrs":
                 f = value.split(",")
                 if len(f) == 1:
-                    f=value.split(",")
+                    f=value.split(":")
                 for i in f:
                     try:
                         display_props[i] = class_obj.properties[i]

Roundup Issue Tracker: http://roundup-tracker.org/