Skip to content

Commit

Permalink
Revert "Fixed a bug when there is no argument called env"
Browse files Browse the repository at this point in the history
  • Loading branch information
siebenkopf committed May 10, 2016
1 parent b98f996 commit e990d55
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bob/bio/base/tools/grid.py
Expand Up @@ -50,10 +50,7 @@ def __init__(self, args, command_line_parameters, executable = 'verify.py', firs
if args.grid is not None:
assert isinstance(args.grid, grid.Grid)

if(hasattr(args,'env')):
self.env = args.env #Fetching the enviroment variable
else:
self.env = None
self.env = args.env #Fetching the enviroment variable

# find, where jman is installed
jmans = bob.extension.find_executable('jman', prefixes = ['bin'])
Expand Down

0 comments on commit e990d55

Please sign in to comment.