Changeset 1555


Ignore:
Timestamp:
Nov 1, 2014 6:29:04 PM (7 years ago)
Author:
toby
Message:

add trust opt to svn update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpath.py

    r1554 r1555  
    276276           '--non-interactive',
    277277           '--accept','theirs-conflict','--force']
    278     s = subprocess.Popen(cmd,
     278    s = subprocess.Popen(cmd+'[--trust-server-cert'],
    279279                         stdout=subprocess.PIPE,stderr=subprocess.PIPE)
    280280    out,err = s.communicate()
    281281    print out
    282282    if err:
    283         print(60*"=")
    284         print ("****** An error was noted, see below *********")
    285         print(60*"=")
    286         print err
    287         sys.exit()
     283        s = subprocess.Popen(cmd,
     284                         stdout=subprocess.PIPE,stderr=subprocess.PIPE)
     285        out,err = s.communicate()
     286        if err:
     287            print(60*"=")
     288            print ("****** An error was noted, see below *********")
     289            print(60*"=")
     290            print err
     291            sys.exit()
    288292
    289293def svnUpdateProcess(version=None,projectfile=None):
Note: See TracChangeset for help on using the changeset viewer.