Commit 6204a40d authored by ORD's avatar ORD

Merge pull request #5 from corylutton/master

Split on first ':' only.
parents 8ec9987f b6979df2
...@@ -486,7 +486,7 @@ class QualifiedName(object): ...@@ -486,7 +486,7 @@ class QualifiedName(object):
@staticmethod @staticmethod
def from_string(string): def from_string(string):
if ":" in string: if ":" in string:
idx, name = string.split(":") idx, name = string.split(":", 1)
else: else:
idx = 0 idx = 0
name = string name = string
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment