Skip to content

Commit

Permalink
deal with odd chars in tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilary Mason committed Dec 17, 2010
1 parent 517ed25 commit 87280c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gitmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ def __init__(self, options, args):
tags.extend(options['tags'].split(','))
for tag in tags:
t = tag.strip()
if not t:
continue
if '/' in t:
t = ''.join(t.split('/'))
modified.append(self.saveTagData(t, url, title, content_filename))

self.gitAdd(modified)
Expand Down

0 comments on commit 87280c6

Please sign in to comment.