diff options
author | Simo Sorce <simo@redhat.com> | 2014-01-24 15:57:28 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-01-24 17:31:56 -0500 |
commit | 47ff1fb4cd7a6c416c93246decacd19628b232c3 (patch) | |
tree | 5ccd86107dc53e0f6a279c8458022dd252bb032c /ipsilon/util/page.py | |
parent | eecd7248cf68418e4248d37303d58334ea7e8eb8 (diff) | |
download | ipsilon-47ff1fb4cd7a6c416c93246decacd19628b232c3.tar.gz ipsilon-47ff1fb4cd7a6c416c93246decacd19628b232c3.tar.xz ipsilon-47ff1fb4cd7a6c416c93246decacd19628b232c3.zip |
Fix Imports
Based on patches by Petr Voborni
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'ipsilon/util/page.py')
-rwxr-xr-x | ipsilon/util/page.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipsilon/util/page.py b/ipsilon/util/page.py index 15cbed0..a99ece8 100755 --- a/ipsilon/util/page.py +++ b/ipsilon/util/page.py @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -from util import user +from ipsilon.util.user import User import cherrypy def protect(): @@ -37,7 +37,7 @@ class Page(object): def __call__(self, *args, **kwargs): self.username = cherrypy.session.get('user', None) - self.user = user.User(self.username) + self.user = User(self.username) if len(args) > 0: op = getattr(self, args[0], None) |