Remove whitespaces
This commit is contained in:
parent
7d7347653e
commit
0d0bde4b9e
2 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ class SystemRepository():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.stdout = [""]
|
self.stdout = [""]
|
||||||
self.stderr = [""]
|
self.stderr = [""]
|
||||||
|
|
||||||
def run(self, *args):
|
def run(self, *args):
|
||||||
stream = sub.Popen(args,
|
stream = sub.Popen(args,
|
||||||
stdout=sub.PIPE,
|
stdout=sub.PIPE,
|
||||||
|
|
|
@ -5,15 +5,15 @@ import os
|
||||||
# getting the name of the directory
|
# getting the name of the directory
|
||||||
# where the this file is present.
|
# where the this file is present.
|
||||||
current = os.path.dirname(os.path.realpath(__file__))
|
current = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
|
||||||
# Getting the parent directory name
|
# Getting the parent directory name
|
||||||
# where the current directory is present.
|
# where the current directory is present.
|
||||||
parent = os.path.dirname(current)
|
parent = os.path.dirname(current)
|
||||||
|
|
||||||
# adding the parent directory to
|
# adding the parent directory to
|
||||||
# the sys.path.
|
# the sys.path.
|
||||||
sys.path.append(parent)
|
sys.path.append(parent)
|
||||||
|
|
||||||
# now we can import the module in the parent
|
# now we can import the module in the parent
|
||||||
# directory.
|
# directory.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue