aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-01-17 10:24:08 -0500
committerAlec Warner <antarus@gentoo.org>2018-01-17 10:24:08 -0500
commit0d6d7f77b5919254aab7a0b030302f3645320492 (patch)
tree72613d9b6ff9284cfbb057aa11dba3de35436598
parentDrop parent / child relation in version. (diff)
downloadpackages-5-0d6d7f77b5919254aab7a0b030302f3645320492.tar.gz
packages-5-0d6d7f77b5919254aab7a0b030302f3645320492.tar.bz2
packages-5-0d6d7f77b5919254aab7a0b030302f3645320492.zip
Another parent relation needed to be removed.
-rw-r--r--lib/kkuleomi/store/models/version_import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kkuleomi/store/models/version_import.rb b/lib/kkuleomi/store/models/version_import.rb
index 7fd6273..b65b683 100644
--- a/lib/kkuleomi/store/models/version_import.rb
+++ b/lib/kkuleomi/store/models/version_import.rb
@@ -60,7 +60,7 @@ module Kkuleomi::Store::Models::VersionImport
# @param [Package] parent Parent package model
def set_sort_key!(key, parent)
self.sort_key = key
- save(parent: parent.id)
+ save()
end
def strip_useflag_defaults(flags)