eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffGenerator.py

changeset 7775
4a1db75550bd
parent 7771
787a6b3f8c9f
child 7779
757334671130
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffGenerator.py	Sat Oct 10 16:03:53 2020 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgDiffGenerator.py	Sun Oct 11 17:54:52 2020 +0200
@@ -78,7 +78,10 @@
                 if bundle:
                     args.append('--repository')
                     args.append(bundle)
-                elif self.vcs.bundleFile and os.path.exists(self.vcs.bundleFile):
+                elif (
+                    self.vcs.bundleFile and
+                    os.path.exists(self.vcs.bundleFile)
+                ):
                     args.append('--repository')
                     args.append(self.vcs.bundleFile)
                 

eric ide

mercurial