Project/Project.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2521
ca91f5ee1b23
child 2538
b2642e7a4c18
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the project management functionality. 7 Module implementing the project management functionality.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
11 try:
12 str = unicode
13 except (NameError):
14 pass
9 15
10 import os 16 import os
11 import time 17 import time
12 import shutil 18 import shutil
13 import glob 19 import glob
157 Constructor 163 Constructor
158 164
159 @param parent parent widget (usually the ui object) (QWidget) 165 @param parent parent widget (usually the ui object) (QWidget)
160 @param filename optional filename of a project file to open (string) 166 @param filename optional filename of a project file to open (string)
161 """ 167 """
162 super().__init__(parent) 168 super(Project, self).__init__(parent)
163 169
164 self.ui = parent 170 self.ui = parent
165 171
166 self.__progLanguages = [ 172 self.__progLanguages = [
167 "Python2", 173 "Python2",

eric ide

mercurial