Changeset 12789 in josm


Ignore:
Timestamp:
2017-09-08T19:34:41+02:00 (20 months ago)
Author:
bastiK
Message:

fix since_xxx.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/since_xxx.py

    r12787 r12789  
    3939    rep_url = ElementTree.fromstring(svn_info_local).findtext("./entry/repository/root")
    4040    svn_info_server = subprocess.check_output("svn info --xml".split(" ") + [rep_url])
    41     return int(ElementTree.fromstring(svn_info_server).find("./entry").get("revision")) + 1
     41    revision = int(ElementTree.fromstring(svn_info_server).find("./entry").get("revision")) + 1
     42    return revision
    4243   
    4344main()
Note: See TracChangeset for help on using the changeset viewer.