summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-02-07 17:15:21 +0800
committerGitHub <[email protected]>2018-02-07 17:15:21 +0800
commit64a20c0f154b0c9facfefb8b02ba3584b2a9eeb5 (patch)
tree60094457e907585a819da9b1ea0e488428c4965a /components/dfs
parent0979e30caaa48952879ba97322498b3817c69ad4 (diff)
parentcd74a4be476965b882bb9fac89cf5d2f13ed7c3e (diff)
Merge pull request #1212 from aozima/pulls
整理network示例和tf卡SPI驱动代码
Diffstat (limited to 'components/dfs')
-rw-r--r--components/dfs/filesystems/romfs/mkromfs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/dfs/filesystems/romfs/mkromfs.py b/components/dfs/filesystems/romfs/mkromfs.py
index 9917cf85b9..f3c12876d2 100644
--- a/components/dfs/filesystems/romfs/mkromfs.py
+++ b/components/dfs/filesystems/romfs/mkromfs.py
@@ -50,7 +50,7 @@ class File(object):
return bytes(self._data)
def dump(self, indent=0):
- print '%s%s' % (' ' * indent, self._name)
+ print('%s%s' % (' ' * indent, self._name))
class Folder(object):
bin_fmt = struct.Struct('IIII')
@@ -108,7 +108,7 @@ class Folder(object):
c.sort()
def dump(self, indent=0):
- print '%s%s' % (' ' * indent, self._name)
+ print('%s%s' % (' ' * indent, self._name))
for c in self._children:
c.dump(indent + 1)