Skip to content

Commit

Permalink
cleaning up things recommended by codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAnnex committed Feb 2, 2017
1 parent 55414b5 commit ac464f7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def build_library():
raise BaseException('{0}'.format(status))
except BaseException as error:
sys.exit("Build failed with: {0}".format(error.args))
pass
finally:
os.chdir(currentDir)

Expand Down
2 changes: 1 addition & 1 deletion spiceypy/tests/test_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -6271,4 +6271,4 @@ def teardown_module(module):
cleanup_Cassini_Kernels()
cleanup_Mars_Kernels()
cleanup_Extra_Kernels()
cleanup_Core_Kernels()
cleanup_Core_Kernels()
1 change: 0 additions & 1 deletion spiceypy/utils/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def SpiceUDF(f):
def wrapping_udfunc(x, value):
result = f(x)
value[0] = ctypes.c_double(result)
pass

return UDFUNC(wrapping_udfunc)

2 changes: 1 addition & 1 deletion spiceypy/utils/support_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,4 +602,4 @@ def __getitem__(self, key):

def reset(self):
self.card = 0
self.init = 0
self.init = 0

0 comments on commit ac464f7

Please sign in to comment.