~ubuntu-branches/ubuntu/vivid/youker-assistant/vivid

« back to all changes in this revision

Viewing changes to backends/youker-assistant-daemon/src/cleaner/common.py

  • Committer: Package Import Robot
  • Author(s): Jack Yu
  • Date: 2013-09-02 23:17:45 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130902231745-psyl14qxslg1g3dp
Tags: 0.1.6-0ubuntu1
* Modify SystemDispatcher and SessionDispatcher Classes.
* Add watch file into debian folder.
* Resolve status of onekey button(LP #1216236 ).
* Add monitorball code into systemdbus daemon.
* Optimize the status button.
* Add fcitx configuration function.
* Fix bugs due to bad references to apt lib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
def get_cache_list():
31
31
    cache = None
32
 
    apt_pkg.InitConfig()
33
 
    apt_pkg.InitSystem()
 
32
    #apt_pkg.InitConfig()
 
33
    #apt_pkg.InitSystem()
 
34
    apt_pkg.init_config()
 
35
    apt_pkg.init_system()
34
36
    cache = apt.Cache()
35
37
    return cache
36
38
 
37
39
def get_mozilla_path(homedir):
38
40
    count = 0
39
41
    tmp_pro_section = []
40
 
    print 'ccccccccccccccc'
41
 
    print homedir
42
42
    if homedir:
43
43
        app_path = '%s/.mozilla/firefox' % homedir
44
44
    else: