Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
1002740f
Verified
Commit
1002740f
authored
Nov 06, 2021
by
Baptiste Beauplat
Browse files
Remove repository validity tests, effectively making it mandatory
parent
c882d859
Changes
1
Show whitespace changes
Inline
Side-by-side
debexpo/importer/models.py
View file @
1002740f
...
@@ -237,9 +237,7 @@ class Importer():
...
@@ -237,9 +237,7 @@ class Importer():
finally
:
finally
:
changes
.
remove
()
changes
.
remove
()
if
self
.
repository
:
self
.
repository
.
update
()
self
.
repository
.
update
()
self
.
spool
.
cleanup
()
self
.
spool
.
cleanup
()
return
success
return
success
...
@@ -411,7 +409,6 @@ class Importer():
...
@@ -411,7 +409,6 @@ class Importer():
git_ref
=
git_storage
.
install
(
source
)
git_ref
=
git_storage
.
install
(
source
)
# Install to repository
# Install to repository
if
self
.
repository
:
self
.
repository
.
install
(
changes
)
self
.
repository
.
install
(
changes
)
# Create DB entries
# Create DB entries
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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