1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00

Fix crash when submiting a SCM package which has no _link

This commit is contained in:
Adrian Schröter 2023-06-05 16:13:42 +02:00 committed by Daniel Mach
parent 56f7cbafa1
commit ff66c1e4f7

View File

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