projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New N2VC interface + updated libjuju
[osm/N2VC.git]
/
modules
/
libjuju
/
juju
/
tag.py
diff --git
a/modules/libjuju/juju/tag.py
b/modules/libjuju/juju/tag.py
index
2514229
..
319e8f8
100644
(file)
--- a/
modules/libjuju/juju/tag.py
+++ b/
modules/libjuju/juju/tag.py
@@
-1,3
+1,8
@@
+# TODO: Tags should be a proper class, so that we can distinguish whether
+# something is already a tag or not. For example, 'user-foo' is a valid
+# username, but is ambiguous with the already-tagged username 'foo'.
+
+
def _prefix(prefix, s):
if s and not s.startswith(prefix):
return '{}{}'.format(prefix, s)
def _prefix(prefix, s):
if s and not s.startswith(prefix):
return '{}{}'.format(prefix, s)