← Back to team overview

openerp-india team mailing list archive

[Bug 1047129] Re: loading a translation file fails if it contains no translations

 

** Changed in: openobject-server
   Importance: Undecided => Low

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1047129

Title:
  loading a translation file fails if it contains no translations

Status in OpenERP Server:
  Confirmed

Bug description:
  Create a translation file for a module, containing just :

  # Translation of OpenERP Server.
  # This file contains the translation of the following modules:
  #   * account

  Try to load this file with --load-language :

  → Traceback

    File "/home/dadafkas/projets/anybox/hg/openerp.anybox.fr/parts/openerp-6.1-20120905-232133/openerp/tools/translate.py", line 324, in next
      line = self.lines.pop(0).strip()
  IndexError: pop from empty list

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1047129/+subscriptions


References