Unverified Kaydet (Commit) 27f4727f authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

PEP8: E225 missing whitespace around operator.

Automated stuff. PEP8 restrictins and error fixes to improve readibility of code.
üst cab06a0d
......@@ -71,7 +71,7 @@ Usage: check-relation
installed.sort()
need_reinstall = []
broken_packages=[]
broken_packages = []
for pkg in installed:
for p in self.installdb.get_package(pkg).runtimeDependencies():
......
......@@ -703,11 +703,11 @@ class Builder:
"""Returns the real path of WorkDir for an unpacked archive."""
dirname = self.get_action_variable("WorkDir", "")
src_list=os.listdir(self.pkg_work_dir())
src_list = os.listdir(self.pkg_work_dir())
if "inaryBuildState" in src_list:
src_list.remove("inaryBuildState")
if dirname == "":
if len(src_list)==1:
if len(src_list) == 1:
dirname = src_list[0]
else:
dirname = self.spec.source.name + "-" + self.spec.getSourceVersion()
......
Markdown is supported
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