• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

allura


Commit MetaInfo

修訂c86ef1c74dfe6043402f342957e9606480659360 (tree)
時間2010-09-02 04:23:04
作者Rick Copeland <rcopeland@geek...>
CommiterRick Copeland

Log Message

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

Change Summary

差異

--- 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