os: Re-export stat() from uos module.

pull/71/head
Paul Sokolovsky 2016-02-28 14:14:03 +02:00
rodzic 0fef3f2f67
commit c9b6eafcb7
3 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
srctype = micropython-lib srctype = micropython-lib
type = package type = package
version = 0.4 version = 0.4.1
author = Paul Sokolovsky author = Paul Sokolovsky
depends = ffilib, errno, stat depends = ffilib, errno, stat

Wyświetl plik

@ -70,6 +70,7 @@ def check_error(ret):
def raise_error(): def raise_error():
raise OSError(uos.errno()) raise OSError(uos.errno())
stat = uos.stat
def getcwd(): def getcwd():
buf = bytearray(512) buf = bytearray(512)

Wyświetl plik

@ -6,7 +6,7 @@ from setuptools import setup
setup(name='micropython-os', setup(name='micropython-os',
version='0.4', version='0.4.1',
description='os module for MicroPython', description='os module for MicroPython',
long_description="This is a module reimplemented specifically for MicroPython standard library,\nwith efficient and lean design in mind. Note that this module is likely work\nin progress and likely supports just a subset of CPython's corresponding\nmodule. Please help with the development if you are interested in this\nmodule.", long_description="This is a module reimplemented specifically for MicroPython standard library,\nwith efficient and lean design in mind. Note that this module is likely work\nin progress and likely supports just a subset of CPython's corresponding\nmodule. Please help with the development if you are interested in this\nmodule.",
url='https://github.com/micropython/micropython/issues/405', url='https://github.com/micropython/micropython/issues/405',