Cruft removed
This commit is contained in:
parent
26c8605256
commit
0d10c8ef0a
1 changed files with 0 additions and 5 deletions
|
|
@ -249,13 +249,8 @@ def update_data(package, db_package)
|
|||
package[:Maintainer]=~/^(.+) <(.+)?>/
|
||||
db_package.maintainer = $1
|
||||
db_package.maintainer_email = $2
|
||||
unless db_package.valid?
|
||||
Rails.logger.error "New package information seems to be invalid: #{db_package.errors}"
|
||||
exit false
|
||||
end
|
||||
db_package.save
|
||||
Rails.logger.debug "Saved package data: #{db_package.inspect}"
|
||||
exit if package[:Name]=='ceph-fuse'
|
||||
return true # data has changed
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue