Changeset 3145


Ignore:
Timestamp:
12 Feb 2008, 06:23:10 (17 years ago)
Author:
Henrik Bettermann
Message:

fix logging message (put into right order)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3143 r3145  
    22992299        msg += "%(total_imported)d imported, %(total_not_imported)d not imported " % vars()
    23002300        if total_pending:
    2301             msg += "%(new_imports_pending)d pending added, %(total_pending_imported)d pending imported " % vars()
     2301            if pending_only:
     2302                msg += "%(new_imports_pending)d pending added, %(total_pending_imported)d pending imported " % vars()
     2303            else:
     2304                msg += "%(new_imports_pending)d pending added " % vars()
     2305            msg += "(of total %(total)d)," % vars()
    23022306            msg += "%(total_pending)d total pending in %(pending_fn)s " % vars()
    2303         msg += "(of total %(total)d)" % vars()
    23042307        logger.info(msg)
    23052308        return msg
Note: See TracChangeset for help on using the changeset viewer.