summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <ixce@ed3n-m.(none)>2009-10-23 01:12:25 +0200
committerGuillaume Seguin <ixce@ed3n-m.(none)>2009-10-23 01:12:25 +0200
commitcd9c1d8ed140e56b60d50655da19716172185ea8 (patch)
tree8025c8764be953dd581ca774a6551c1c9faeabd6
parentb8836feed275ceff63c325bf1e49fba3c71cf512 (diff)
downloadumlpy-cd9c1d8ed140e56b60d50655da19716172185ea8.tar.gz
umlpy-cd9c1d8ed140e56b60d50655da19716172185ea8.tar.bz2
Fix multiline @uses with spaces
-rw-r--r--grapher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grapher.py b/grapher.py
index a54bcc7..65caf43 100644
--- a/grapher.py
+++ b/grapher.py
@@ -133,7 +133,7 @@ for doc in docs:
if str (var_val.docstring) != "<UNKNOWN>":
bits = str (var_val.docstring).split ("\n")
for bit in bits:
- if bit.startswith ("@uses:"):
+ if bit.strip ().startswith ("@uses:"):
bit = bit.replace ("@uses:", "").strip ()
uses_dict[var_name].append (bit)
for var_var in var_vars: