• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revisãoc86ef1c74dfe6043402f342957e9606480659360 (tree)
Hora2010-09-02 04:23:04
AutorRick Copeland <rcopeland@geek...>
CommiterRick Copeland

Mensagem de Log

[#855] - fix for when the restored labels were empty

Mudança Sumário

Diff

--- a/scripts/restore-labels.py
+++ b/scripts/restore-labels.py
@@ -35,7 +35,7 @@ def restore_labels(obj, test=True):
3535 if not obj.labels: return
3636 labels = obj.labels
3737 while True:
38- if labels[0] != '[': return
38+ if not labels or labels[0] != '[': return
3939 lbllen = map(len, labels)
4040 if max(lbllen) != 1: return
4141 if min(lbllen) != 1: return