That logic is bassackwards

This commit is contained in:
R. Tyler Croy 2017-07-19 19:45:29 -07:00
parent 230b8e82f6
commit 0546ea861d
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def main():
scope = dep.find('mvn:scope', ns)
if scope is None:
optional = dep.find('mvn:optional', ns)
if optional is not None:
if optional is None:
group = dep.find('mvn:groupId', ns).text
plugin = dep.find('mvn:artifactId', ns).text
try: