diff Python/symtable.c @ 70920:c8192197d23d

merge 3.2
author Benjamin Peterson <benjamin@python.org>
date Mon, 20 Jun 2011 22:09:20 -0500
parents 2d62ee4e7d98 275862274567
children 099c7b0f24a6
line wrap: on
line diff
--- a/Python/symtable.c	Mon Jun 20 21:40:46 2011 -0500
+++ b/Python/symtable.c	Mon Jun 20 22:09:20 2011 -0500
@@ -1576,12 +1576,12 @@
     }
     else {
         if (st->st_cur->ste_type != ModuleBlock) {
-        int lineno = st->st_cur->ste_lineno;
-        int col_offset = st->st_cur->ste_col_offset;
-        PyErr_SetString(PyExc_SyntaxError, IMPORT_STAR_WARNING);
-        PyErr_SyntaxLocationEx(st->st_filename, lineno, col_offset);
-        Py_DECREF(store_name);
-        return 0;
+            int lineno = st->st_cur->ste_lineno;
+            int col_offset = st->st_cur->ste_col_offset;
+            PyErr_SetString(PyExc_SyntaxError, IMPORT_STAR_WARNING);
+            PyErr_SyntaxLocationEx(st->st_filename, lineno, col_offset);
+            Py_DECREF(store_name);
+            return 0;
         }
         st->st_cur->ste_unoptimized |= OPT_IMPORT_STAR;
         Py_DECREF(store_name);