[Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: Only print rich dep list when required to. (#982)

Gordon Messmer notifications at github.com
Fri Dec 20 20:05:19 UTC 2019


gordonmessmer commented on this pull request.



> @@ -269,7 +269,10 @@
                 spec_list.append('{n} >= {v} with {n} < {vnext}'.format(n=name, v=spec[1], vnext=next_ver))
             else:
                 spec_list.append('{} {} {}'.format(name, spec[0], spec[1]))
-        print('(%s)' % ' with '.join(spec_list))
+        if len(spec_list) == 1:
+            print(spec_list[0])
+        else:
+            print('(%s)' % ' with '.join(spec_list))

I've updated the branch.  Thank you.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/982#discussion_r360553263
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191220/3a5c85e3/attachment.html>


More information about the Rpm-maint mailing list