Changeset 2388 for lliurex-mirror


Ignore:
Timestamp:
Sep 8, 2016, 10:32:44 AM (3 years ago)
Author:
hectorgh
Message:

renaming file variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-mirror/trunk/fuentes/n4d-lliurex-mirror.install/usr/share/n4d/python-plugins/MirrorManager.py

    r2302 r2388  
    404404                config = json.load(open(configpath,'r'))
    405405                path=config["MIRRORPATH"]
    406                 file="time-of-last-update"
    407                 dest=os.path.join(path,file)
     406                f="time-of-last-update"
     407                dest=os.path.join(path,f)
    408408
    409409                orig_mirror=self.get_mirror_orig(distro)
    410                 url_mirror="http://"+os.path.join(orig_mirror['msg'],file)
     410                url_mirror="http://"+os.path.join(orig_mirror['msg'],f)
    411411
    412412                return self.get_time_file(url_mirror,dest)
Note: See TracChangeset for help on using the changeset viewer.