2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing some FTP related utilities. | 7 Module implementing some FTP related utilities. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 import os | 12 import os |
11 | 13 |
12 from PyQt4.QtCore import QObject, QDate, QDateTime, QTime | 14 from PyQt4.QtCore import QObject, QDate, QDateTime, QTime |
13 | 15 |
47 """ | 49 """ |
48 Constructor | 50 Constructor |
49 | 51 |
50 @param parent reference to the parent object (QObject) | 52 @param parent reference to the parent object (QObject) |
51 """ | 53 """ |
52 super().__init__(parent) | 54 super(FtpDirLineParser, self).__init__(parent) |
53 | 55 |
54 self.__parseLine = self.__parseUnixLine | 56 self.__parseLine = self.__parseUnixLine |
55 self.__modeSwitchAllowed = True | 57 self.__modeSwitchAllowed = True |
56 | 58 |
57 def __ignoreLine(self, line): | 59 def __ignoreLine(self, line): |