Create the 'partial' directory for apt. #499

Merged
merged 1 commit into from May 4, 2016
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Split
@@ -128,7 +128,8 @@ def __init__(self, rootdir, recommends=False,
rootdir, sources, project_options)
def get(self, package_names):
- os.makedirs(self.downloaddir, exist_ok=True)
+ # Create the 'partial' subdir too (LP: #1578007).
+ os.makedirs(os.path.join(self.downloaddir, 'partial'), exist_ok=True)
manifest_dep_names = self._manifest_dep_names()