diff --git a/VERSION b/VERSION index 4a54ac51..191e1d84 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.02.13.08.47.47 +Version 2.4.1-alpha.2+timestamp.2013.02.13.09.30.42 diff --git a/gluon/serializers.py b/gluon/serializers.py index 1d2621d2..c4268599 100644 --- a/gluon/serializers.py +++ b/gluon/serializers.py @@ -21,7 +21,7 @@ except ImportError: have_yaml = True try: - import yaml + import yaml as yamlib except ImportError: have_yaml = False @@ -131,11 +131,11 @@ def rss(feed): def yaml(data): if have_yaml: - return yaml.dump(data) + return yamlib.dump(data) else: raise ImportError("No YAML serializer available") def loads_yaml(data): if have_yaml: - return yaml.load(data) + return yamlib.load(data) else: raise ImportError("No YAML serializer available")