Helpviewer/Network/FileReply.py

changeset 5587
ea526b78ee6c
parent 5389
9b1c800daff3
child 5624
cdd346d8858b
--- a/Helpviewer/Network/FileReply.py	Tue Mar 07 18:46:09 2017 +0100
+++ b/Helpviewer/Network/FileReply.py	Tue Mar 07 18:53:18 2017 +0100
@@ -9,7 +9,7 @@
 
 from __future__ import unicode_literals
 try:
-    str = unicode
+    str = unicode       # __IGNORE_WARNING_M131__
 except NameError:
     pass
 
@@ -191,8 +191,8 @@
         """
         Private slot loading the directory and preparing the listing page.
         """
-        dir = QDir(self.url().toLocalFile())
-        dirItems = dir.entryInfoList(
+        qdir = QDir(self.url().toLocalFile())
+        dirItems = qdir.entryInfoList(
             QDir.AllEntries | QDir.Hidden | QDir.NoDotAndDotDot,
             QDir.Name | QDir.DirsFirst)
         

eric ide

mercurial