Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2013-06-02 06:34:26 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2013-06-02 06:34:26 (GMT)
commita2181bd9f4cade2b4e1d401e9fd1b643a0b6e030 (patch)
treed77ba346d7283aa14e53c3ee76b350b6f05b51c3
parent284b7b9f03a27317793c7ae000b9f03a062e5243 (diff)
Do not save empty titles while importing strings from ASLO
-rwxr-xr-xmisc/aslo-sync3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/aslo-sync b/misc/aslo-sync
index 0ba1a67..02da0ab 100755
--- a/misc/aslo-sync
+++ b/misc/aslo-sync
@@ -629,7 +629,8 @@ class Application(application.Application):
translations
WHERE
id = %s""" % an_id):
- result[locale.lower()] = value
+ if value:
+ result[locale.lower()] = value
return result
def sqlexec(self, text):