Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/Esri/ArcREST
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMillerGIS committed Jan 19, 2017
2 parents fea1dcb + ec718cf commit d1be8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/src/delete_rows_from_fs.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def main(*argv):
outputPrinter(message="with error message: %s" % synerror,typeOfMessage='error')
outputPrinter(message="ArcPy Error Message: %s" % arcpy.GetMessages(2),typeOfMessage='error')
arcpy.SetParameterAsText(7, "false")
except (common.ArcRestHelperError),e:
except (common.ArcRestHelperError) as e:
outputPrinter(message=e,typeOfMessage='error')
arcpy.SetParameterAsText(7, "false")
except:
Expand Down Expand Up @@ -190,6 +190,6 @@ def main(*argv):
gc.collect()
if __name__ == "__main__":
argv = tuple(arcpy.GetParameterAsText(i)
for i in xrange(arcpy.GetArgumentCount()))
for i in range(arcpy.GetArgumentCount()))
main(*argv)

0 comments on commit d1be8ac

Please sign in to comment.