[pygobject] pygi-convert.sh: Don't change the name of "glib" submodules
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygi-convert.sh: Don't change the name of "glib" submodules
- Date: Mon, 17 Jan 2011 10:24:51 +0000 (UTC)
commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
Author: Martin Pitt <martin pitt ubuntu com>
Date: Mon Jan 17 11:22:46 2011 +0100
pygi-convert.sh: Don't change the name of "glib" submodules
This particular affects dbus.mainloop.glib.*
pygi-convert.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pygi-convert.sh b/pygi-convert.sh
index 5badb04..712f731 100644
--- a/pygi-convert.sh
+++ b/pygi-convert.sh
@@ -139,7 +139,7 @@ for f in $FILES_TO_CONVERT; do
-pe "s/Gio.vfs_/Gio.Vfs./g;" \
\
-pe "s/import glib\n/from gi.repository import GLib\n/g;" \
- -pe "s/glib\./GLib\./g;" \
+ -pe "s/(?<!\.)glib\./GLib\./g;" \
-pe "s/GLib.IO_(ERR|HUP|IN|NVAL|OUT|PRI)/GLib.IOCondition./g;" \
-pe "s/GLib.IO_FLAG_/GLib.IOFlags./g;" \
-pe "s/GLib.IO_STATUS_/GLib.IOStatus./g;" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]