IGN:Tag release

This commit is contained in:
Kovid Goyal 2012-08-03 10:16:44 +05:30
parent 3c196c7073
commit 7702e3b488
5 changed files with 552 additions and 381 deletions

View File

@ -58,6 +58,8 @@
- title: "EPUB Input: Handle files that have duplicate entries in the spine" - title: "EPUB Input: Handle files that have duplicate entries in the spine"
- title: "Fix regression in Kobo driver that caused the on device column to not be updated after deleting books"
new recipes: new recipes:
- title: Dziennik Polski - title: Dziennik Polski
author: Gregorz Maj author: Gregorz Maj

Binary file not shown.

View File

@ -28,7 +28,10 @@ def is_vm_running(name):
pat = '/%s/'%name pat = '/%s/'%name
pids= [pid for pid in os.listdir('/proc') if pid.isdigit()] pids= [pid for pid in os.listdir('/proc') if pid.isdigit()]
for pid in pids: for pid in pids:
cmdline = open(os.path.join('/proc', pid, 'cmdline'), 'rb').read() try:
cmdline = open(os.path.join('/proc', pid, 'cmdline'), 'rb').read()
except IOError:
continue # file went away
if 'vmware-vmx' in cmdline and pat in cmdline: if 'vmware-vmx' in cmdline and pat in cmdline:
return True return True
return False return False

View File

@ -152,7 +152,7 @@ class Translations(POT): # {{{
subprocess.check_call(['msgfmt', '-o', dest, iso639]) subprocess.check_call(['msgfmt', '-o', dest, iso639])
elif locale not in ('en_GB', 'en_CA', 'en_AU', 'si', 'ur', 'sc', elif locale not in ('en_GB', 'en_CA', 'en_AU', 'si', 'ur', 'sc',
'ltg', 'nds', 'te', 'yi', 'fo', 'sq', 'ast', 'ml', 'ku', 'ltg', 'nds', 'te', 'yi', 'fo', 'sq', 'ast', 'ml', 'ku',
'fr_CA'): 'fr_CA', 'him'):
self.warn('No ISO 639 translations for locale:', locale) self.warn('No ISO 639 translations for locale:', locale)
self.write_stats() self.write_stats()

File diff suppressed because it is too large Load Diff