Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
b632640f
Unverified
Commit
b632640f
authored
Jun 09, 2018
by
Felix Yan
Committed by
GitHub
Jun 09, 2018
Browse files
Fix a typo in packages/models.py
parent
89f3940a
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/models.py
View file @
b632640f
...
...
@@ -228,7 +228,7 @@ class UpdateManager(models.Manager):
def
log_update
(
self
,
old_pkg
,
new_pkg
):
'''Utility method to help log an update. This will determine the type
based on how many packages are passed in, and will pull the relevant
necesary fields off the given packages.
neces
s
ary fields off the given packages.
Note that in some cases, this is a no-op if we know this database type
supports triggers to add these rows instead.'''
if
database_vendor
(
Package
,
'write'
)
in
(
'sqlite'
,
'postgresql'
):
...
...
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