Recent Issues
|
Sign in
with your
Google
Account to create issues and add comments
Issue 81:
Fix CPO memory leak
Unified Diff
File: translate/storage/base.py
Patch Set: Added some tests workarounds
Jump to:
Index: translate/storage/base.py
===================================================================
--- translate/storage/base.py (revision 8034)
+++ translate/storage/base.py (working copy)
@@ -374,7 +374,7 @@
unit = self.UnitClass(source)
self.addunit(unit)
- return unit
+ return self.units[-1]
def findunit(self, source):
"""Finds the unit with the given source string.