Changeset 2517 for lliurex-mirror


Ignore:
Timestamp:
Sep 27, 2016, 1:10:04 PM (3 years ago)
Author:
kbut
Message:

comment main code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-mirror/trunk/fuentes/lliurex-mirror-gui/lliurex_mirror_connect.py

    r2516 r2517  
    169169
    170170if __name__ == '__main__':
    171         c = LliurexMirrorN4d('localhost',['kbut','lliurex'])
    172         config = {'IGN_GPG': 1, 'NAME': 'Mi ppa', 'ORIGS': {'1': 'ppa.launchpad.net/llxdev/xenial/ubuntu', '3': '172.20.8.6/mirror/ppa-xenial/', '2': '/home/kbut/miMirrorPortatil'}, 'SECTIONS': ['main', 'universe', 'restricted', 'multiverse'], 'MIRROR_PATH': '/home/mirror-ppa', 'ARCHITECTURES': ['amd64', 'i386'], 'CHK_MD5': 0, 'IGN_RELEASE': 0, 'BANNER': '', 'CURRENT_UPDATE_OPTION': '1', 'DISTROS': ['xenial']}
     171        #c = LliurexMirrorN4d('localhost',['kbut','lliurex'])
     172        #config = {'IGN_GPG': 1, 'NAME': 'Mi ppa', 'ORIGS': {'1': 'ppa.launchpad.net/llxdev/xenial/ubuntu', '3': '172.20.8.6/mirror/ppa-xenial/', '2': '/home/kbut/miMirrorPortatil'}, 'SECTIONS': ['main', 'universe', 'restricted', 'multiverse'], 'MIRROR_PATH': '/home/mirror-ppa', 'ARCHITECTURES': ['amd64', 'i386'], 'CHK_MD5': 0, 'IGN_RELEASE': 0, 'BANNER': '', 'CURRENT_UPDATE_OPTION': '1', 'DISTROS': ['xenial']}
    173173        #print c.save_config('mippa',config)
    174174        #print c.create_conf(config)
     
    178178        #print c.mirror_list()
    179179        #print c.export('mippa','/home/mirror16')
    180         print c.is_alive_export()
    181         print c.get_percentage_export()
     180        #print c.is_alive_export()
     181        #print c.get_percentage_export()
    182182        #print c.get_percentage('mippa')
    183183        #print c.is_alive()
    184         print c.stop_export()
     184        #print c.stop_export()
     185        pass
Note: See TracChangeset for help on using the changeset viewer.