1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

This is embarrassing

This commit is contained in:
James Laska 2015-06-15 20:15:57 -04:00
parent 3f9c2cf465
commit 3522920b08

View File

@ -276,7 +276,7 @@ class ApiV1ConfigView(APIView):
try: try:
os.remove(fname) os.remove(fname)
except OSError, e: except OSError, e:
if e.errno != errno.ENOENT if e.errno != errno.ENOENT:
errno = e.errno errno = e.errno
break break