Change in pysim[master]: pySim/filesystem.py: fix compatibility with Python 3.5

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sat Apr 10 09:48:43 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/23690 )

Change subject: pySim/filesystem.py: fix compatibility with Python 3.5
......................................................................

pySim/filesystem.py: fix compatibility with Python 3.5

Change-Id: Ia4021551bcd28e6020958964f6f4e9b6dc989d94
Related: OS#5111
---
M pySim/filesystem.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/pySim/filesystem.py b/pySim/filesystem.py
index e97fbf6..097661d 100644
--- a/pySim/filesystem.py
+++ b/pySim/filesystem.py
@@ -65,7 +65,7 @@
         self.parent = parent
         if self.parent and self.parent != self and self.fid:
             self.parent.add_file(self)
-        self.shell_commands: List[CommandSet] = []
+        self.shell_commands = [] # type: List[CommandSet]
 
 	# Note: the basic properties (fid, name, ect.) are verified when
 	# the file is attached to a parent file. See method add_file() in

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/23690
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ia4021551bcd28e6020958964f6f4e9b6dc989d94
Gerrit-Change-Number: 23690
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210410/19160f57/attachment.htm>


More information about the gerrit-log mailing list