Utilities/crypto/__init__.py

changeset 3656
441956d8fce5
parent 3178
f25fc1364c88
child 4021
195a471c327b
equal deleted inserted replaced
3654:ffeb85cdc72d 3656:441956d8fce5
10 from __future__ import unicode_literals 10 from __future__ import unicode_literals
11 11
12 import random 12 import random
13 import base64 13 import base64
14 14
15 from PyQt4.QtCore import QCoreApplication 15 from PyQt5.QtCore import QCoreApplication
16 from PyQt4.QtGui import QLineEdit, QInputDialog 16 from PyQt5.QtWidgets import QLineEdit, QInputDialog
17 17
18 from E5Gui import E5MessageBox 18 from E5Gui import E5MessageBox
19 19
20 import Preferences 20 import Preferences
21 21
315 return "", False 315 return "", False
316 return plaintext, True 316 return plaintext, True
317 317
318 if __name__ == "__main__": 318 if __name__ == "__main__":
319 import sys 319 import sys
320 from PyQt4.QtGui import QApplication 320 from PyQt5.QtWidgets import QApplication
321 321
322 app = QApplication([]) 322 app = QApplication([])
323 323
324 mpw = "blahblah" 324 mpw = "blahblah"
325 cpw = "SomeSecret" 325 cpw = "SomeSecret"

eric ide

mercurial