Changeset 7745:6c1f363bd6fa in orange


Ignore:
Timestamp:
03/15/11 15:27:59 (3 years ago)
Author:
lanz <lan.zagar@…>
Branch:
default
Convert:
67c3612614b79f68c0aa2e999117010844d6699f
Message:

Changed downloadPyd.py so that it doesn't crash if you have a .pyd not on the server.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/downloadPyd.py

    r6538 r7745  
    1818 
    1919for fle in files: 
    20     if os.path.exists(fle+".pyd") and repository_stamps[fle+".pyd"] == md5.md5(file(fle+".pyd", "rb").read()).hexdigest().upper(): 
     20    if os.path.exists(fle+".pyd") and repository_stamps.get(fle+".pyd", "") == md5.md5(file(fle+".pyd", "rb").read()).hexdigest().upper(): 
    2121        print "\nSkipping %s" % fle, 
    2222    else: 
Note: See TracChangeset for help on using the changeset viewer.