diff hgext/githelp.py @ 51370:0d414fb8336f

cleanup: remove unnecessary list constructor calls around list comprehensions
author Manuel Jacob <me@manueljacob.de>
date Fri, 02 Feb 2024 03:39:37 +0100
parents 642e31cb55f0
children
line wrap: on
line diff
--- a/hgext/githelp.py	Mon Feb 12 16:22:47 2024 +0100
+++ b/hgext/githelp.py	Fri Feb 02 03:39:37 2024 +0100
@@ -111,7 +111,7 @@
 
             ui.warn(_(b"ignoring unknown option %s\n") % flag)
 
-    args = list([convert(x) for x in args])
+    args = [convert(x) for x in args]
     opts = dict(
         [
             (k, convert(v)) if isinstance(v, bytes) else (k, v)