Skip to content

Commit

Permalink
Make NICE=None the default in Makefile.common and fix runclaw.py to c…
Browse files Browse the repository at this point in the history
…onvert any non-integer to None (including string 'None')
  • Loading branch information
Randy LeVeque committed Jun 6, 2014
1 parent c5246be commit d85eff3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GIT_STATUS ?= False
SETRUN_FILE ?= ./setrun.py
SETPLOT_FILE ?= ./setplot.py
NOHUP ?= False
NICE ?= 7
NICE ?= None

#----------------------------------------------------------------------------
# Lists of source, modules, and objects
Expand Down
2 changes: 1 addition & 1 deletion src/python/clawutil/runclaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def runclaw(xclawcmd=None, outdir=None, overwrite=True, restart=False,
try:
nice = int(nice)
except:
pass
nice = None

# convert strings passed in from Makefile to boolean:
if type(overwrite) is str:
Expand Down

0 comments on commit d85eff3

Please sign in to comment.