Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
repod
Commits
fc65c032
Verified
Commit
fc65c032
authored
Oct 09, 2019
by
Jan Alexander Steffens (heftig)
Browse files
dbscripts: Relative imports from __main__ don't work :(
parent
d9762a74
Changes
3
Hide whitespace changes
Inline
Side-by-side
dbscripts/db-move
View file @
fc65c032
...
...
@@ -7,7 +7,7 @@ from fcntl import LOCK_EX, flock
from
pathlib
import
Path
from
sys
import
argv
,
exit
from
.
lib.dbwrite
import
generate_dbs
from
lib.dbwrite
import
generate_dbs
async
def
main
(
repo_from
,
repo_to
,
pkgbases
)
->
int
:
...
...
dbscripts/db-remove
View file @
fc65c032
...
...
@@ -7,7 +7,7 @@ from fcntl import LOCK_EX, flock
from
pathlib
import
Path
from
sys
import
argv
,
exit
from
.
lib.dbwrite
import
generate_dbs
from
lib.dbwrite
import
generate_dbs
async
def
main
(
repo
,
pkgbases
)
->
int
:
...
...
dbscripts/db-update
View file @
fc65c032
...
...
@@ -11,7 +11,7 @@ from sys import argv, exit
import
pyalpm
from
.
lib.dbwrite
import
generate_dbs
from
lib.dbwrite
import
generate_dbs
def
parse_pkginfo
(
pkginfo
:
str
)
->
dict
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment