diff options
| author | Johan Dahlin <johan@gnome.org> | 2008-01-19 13:36:30 +0000 |
|---|---|---|
| committer | Johan Dahlin <johan@src.gnome.org> | 2008-01-19 13:36:30 +0000 |
| commit | a28bc03fb498a8a5a6be51776d89c6f860ba9b72 (patch) | |
| tree | 599ccca3b0e6a802935aa2ed3684f874357c03a6 | |
| parent | 94607691f5e53f023a0ebf624ac22e852d0b1209 (diff) | |
| download | pygobject-a28bc03fb498a8a5a6be51776d89c6f860ba9b72.tar.gz pygobject-a28bc03fb498a8a5a6be51776d89c6f860ba9b72.tar.xz pygobject-a28bc03fb498a8a5a6be51776d89c6f860ba9b72.zip | |
set gio.unix to None if it's not available
2008-01-19 Johan Dahlin <johan@gnome.org>
* gio/__init__.py: set gio.unix to None if it's not available
svn path=/trunk/; revision=732
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | gio/__init__.py | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2008-01-19 Johan Dahlin <johan@gnome.org> + * gio/__init__.py: set gio.unix to None if it's not available + * gio/gio.override: Implement InputStream.read efficiently without copying the strings, based on the standard libararys file.read() implementation. diff --git a/gio/__init__.py b/gio/__init__.py index d316da8..2a21d88 100644 --- a/gio/__init__.py +++ b/gio/__init__.py @@ -33,5 +33,5 @@ try: import unix unix # pyflakes except ImportError: - pass + unix = None del _gio |
