3521 try: |
3521 try: |
3522 with EricOverrideCursor(): |
3522 with EricOverrideCursor(): |
3523 if FileSystemUtilities.isRemoteFileName(fn) or isRemote: |
3523 if FileSystemUtilities.isRemoteFileName(fn) or isRemote: |
3524 title = self.tr("Open Remote File") |
3524 title = self.tr("Open Remote File") |
3525 if encoding: |
3525 if encoding: |
3526 txt, self.encoding = ( |
3526 ( |
3527 self.__remotefsInterface.readEncodedFileWithEncoding( |
3527 txt, |
3528 fn, encoding, create=True |
3528 self.encoding, |
3529 ) |
3529 ) = self.__remotefsInterface.readEncodedFileWithEncoding( |
|
3530 fn, encoding, create=True |
3530 ) |
3531 ) |
3531 else: |
3532 else: |
3532 txt, self.encoding = self.__remotefsInterface.readEncodedFile( |
3533 txt, self.encoding = self.__remotefsInterface.readEncodedFile( |
3533 fn, create=True |
3534 fn, create=True |
3534 ) |
3535 ) |