From 8e453c19952105124a9d2a6f501d525f432e743d Mon Sep 17 00:00:00 2001 From: Sebastian Celis Date: Thu, 7 Feb 2013 16:21:48 -0600 Subject: [PATCH] Fix possible crash when consuming Android string files. Twine would crash if --tags were supplied on the command line. This parameter is undocumented for consume-string-file. It shouldn't do anything (at least not yet). Fixes #23 --- lib/twine/formatters/android.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/twine/formatters/android.rb b/lib/twine/formatters/android.rb index a395fea..4737350 100644 --- a/lib/twine/formatters/android.rb +++ b/lib/twine/formatters/android.rb @@ -74,9 +74,6 @@ module Twine else value = "" end - if @options[:tags] - set_tags_for_key(key, @options[:tags]) - end set_translation_for_key(key, lang, value) if comment and comment.length > 0 and !comment.start_with?("SECTION:") set_comment_for_key(key, comment)