1 |
commit: 39c48cdeed9674df6e8ab18e32fa075e95f9bdee |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 3 22:43:06 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 3 23:28:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=39c48cde |
7 |
|
8 |
lib/portage/cache/sqlite.py: fix whitespace |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
lib/portage/cache/sqlite.py | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/lib/portage/cache/sqlite.py b/lib/portage/cache/sqlite.py |
17 |
index 02bf3fcde..3a372bcfc 100644 |
18 |
--- a/lib/portage/cache/sqlite.py |
19 |
+++ b/lib/portage/cache/sqlite.py |
20 |
@@ -33,7 +33,7 @@ class database(fs_template.FsBased): |
21 |
self._allowed_keys_set = frozenset(self._allowed_keys) |
22 |
self._allowed_keys = sorted(self._allowed_keys_set) |
23 |
|
24 |
- self.location = os.path.join(self.location, |
25 |
+ self.location = os.path.join(self.location, |
26 |
self.label.lstrip(os.path.sep).rstrip(os.path.sep)) |
27 |
|
28 |
if not self.readonly and not os.path.exists(self.location): |
29 |
@@ -105,7 +105,7 @@ class database(fs_template.FsBased): |
30 |
table_parameters.append("UNIQUE(%s)" % self._db_table["packages"]["package_key"]) |
31 |
create_statement.append(",".join(table_parameters)) |
32 |
create_statement.append(")") |
33 |
- |
34 |
+ |
35 |
self._db_table["packages"]["create"] = " ".join(create_statement) |
36 |
|
37 |
cursor = self._db_cursor |