~evfool/software-center/lp934414

« back to all changes in this revision

Viewing changes to software-center-dbus

  • Committer: Michael Vogt
  • Date: 2012-10-05 06:54:05 UTC
  • mfrom: (3206.4.6 dbus-idle-timeout)
  • Revision ID: michael.vogt@ubuntu.com-20121005065405-3ejaw4iidohxlkmu
mergedĀ lp:~mvo/software-center/dbus-idle-timeout

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
19
 
20
20
import logging
 
21
import sys
21
22
from softwarecenter.db.dataprovider import dbus_main
22
23
 
23
24
 
24
25
if __name__ == "__main__":
25
 
    logging.basicConfig(level=logging.DEBUG)
 
26
    if "--debug" in sys.argv:
 
27
        logging.basicConfig(level=logging.DEBUG)
26
28
    dbus_main()