1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 02:16:12 +01:00

Merge pull request #1340 from adrianschroeter/fix_crash_no_link

Fix crash when submiting a package which has no _link
This commit is contained in:
Daniel Mach 2023-06-19 08:50:10 +02:00 committed by GitHub
commit afcf76aa44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1937,8 +1937,8 @@ class Package:
self.linkrepair = None self.linkrepair = None
self.rev = None self.rev = None
self.srcmd5 = None self.srcmd5 = None
self.linkinfo = None self.linkinfo = Linkinfo()
self.serviceinfo = None self.serviceinfo = DirectoryServiceinfo()
self.size_limit = None self.size_limit = None
self.meta = None self.meta = None
self.excluded = [] self.excluded = []