1. Daniel Greenfeld
  2. transifex

Commits

Diego Búrigo Zacarão  committed ec287d1

Argh! Another backward compatibility change for python 2.4

  • Participants
  • Parent commits 1e6b8a5
  • Branches default

Comments (0)

Files changed (1)

File transifex/webtrans/wizards.py

View file
  • Ignore whitespace
 
         # Drop obsolete entries from the list
         ob = len(self.po_entries.obsolete_entries())
-        entries = self.po_entries if ob==0 else self.po_entries[:-ob]
+        if ob == 0:
+            entries = self.po_entries
+        else:
+            entries = self.po_entries[:-ob]
 
         # Filtering
         po_entries_list = []