Gerry Nelson 5 years ago
parent
commit
155101cbe7
  1. 20
      testfolderaccess.py

20
testfolderaccess.py

@ -24,6 +24,17 @@
# limitations under the License. # limitations under the License.
# #
# Import Python modules
import argparse
import subprocess
import json
import sys
from sharedfunctions import getfolderid,callrestapi,getapplicationproperties
# get python version # get python version
version=int(str(sys.version_info[0])) version=int(str(sys.version_info[0]))
@ -37,15 +48,6 @@ clicommand=os.path.join(clidir,cliexe)
debug=False debug=False
# Import Python modules
import argparse
import subprocess
import json
import sys
from sharedfunctions import getfolderid,callrestapi,getapplicationproperties
# Define exception handler so that we only output trace info from errors when in debug mode # Define exception handler so that we only output trace info from errors when in debug mode
def exception_handler(exception_type, exception, traceback, debug_hook=sys.excepthook): def exception_handler(exception_type, exception, traceback, debug_hook=sys.excepthook):
if debug: if debug:

Loading…
Cancel
Save