Commit a0b8de25 authored by Céline Noirot's avatar Céline Noirot
Browse files

Debug expression when have only memory set

parent 46ee0a86
......@@ -66,7 +66,7 @@ class Component(object):
self.__cpu = int(re.match( r'.*cpu=(\d+)\s?.*', self.batch_options).group(1))
except: pass
self.__memory = re.match( r'.*\s+mem=(\d+\w)\s?.*', self.batch_options).group(1)
self.__memory = re.match( r'.*\s?mem=(\d+\w)\s?.*', self.batch_options).group(1)
except: pass
def get_cpu(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment