Skip to content

Commit

Permalink
more cleanup on mbox-restore label changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jay0lee committed Jun 23, 2014
1 parent 766a99f commit 4070471
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions gyb.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,8 +999,11 @@ def main(argv):
if bad_label in labels:
labels.remove(bad_label)
if bad_label == u'Chat':
bad_label = u'Restored Chat'
labels.append(u'\\\\%s' % bad_label)
labels.append(u'Restored Chats')
elif bad_label == u'Drafts':
labels.append(u'\\\\Draft')
else:
labels.append(u'\\\\%s' % bad_label)
escaped_labels = []
for label in labels:
if label.find('\"') != -1:
Expand Down

0 comments on commit 4070471

Please sign in to comment.