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
7b9f414e
Unverified
Commit
7b9f414e
authored
Jun 08, 2018
by
Jelle van der Waa
🚧
Committed by
GitHub
Jun 08, 2018
Browse files
Merge pull request #120 from archlinux/fix-typo
Fix a typo in packages/models.py
parents
89f3940a
b632640f
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/models.py
View file @
7b9f414e
...
...
@@ -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