mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 18:46:17 +01:00
Cosmetic: use "... is not None" instead of "not ... is None"
This commit is contained in:
parent
d68507fa95
commit
20e7a132ab
@ -2741,7 +2741,7 @@ class Request:
|
||||
def to_xml(self):
|
||||
"""serialize object to XML"""
|
||||
root = ET.Element('request')
|
||||
if not self.reqid is None:
|
||||
if self.reqid is not None:
|
||||
root.set('id', self.reqid)
|
||||
if self.creator is not None:
|
||||
root.set('creator', self.creator)
|
||||
|
Loading…
Reference in New Issue
Block a user