Skip to content
Snippets Groups Projects
Commit e990d550 authored by Manuel Günther (aka. Gunther, Guenther)'s avatar Manuel Günther (aka. Gunther, Guenther)
Browse files

Revert "Fixed a bug when there is no argument called env"

parent b98f996d
No related branches found
No related tags found
1 merge request!21Revert "Fixed a bug when there is no argument called env"
...@@ -50,10 +50,7 @@ class GridSubmission: ...@@ -50,10 +50,7 @@ class GridSubmission:
if args.grid is not None: if args.grid is not None:
assert isinstance(args.grid, grid.Grid) assert isinstance(args.grid, grid.Grid)
if(hasattr(args,'env')): self.env = args.env #Fetching the enviroment variable
self.env = args.env #Fetching the enviroment variable
else:
self.env = None
# find, where jman is installed # find, where jman is installed
jmans = bob.extension.find_executable('jman', prefixes = ['bin']) jmans = bob.extension.find_executable('jman', prefixes = ['bin'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment