Skip to content

Commit

Permalink
Rearrange imports
Browse files Browse the repository at this point in the history
  • Loading branch information
z4r committed Jul 14, 2011
1 parent 782906f commit 5912903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtkit/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import logging
import re
from restkit import Resource, Response
from errors import *
import errors
import forms
import comment

Expand Down Expand Up @@ -56,7 +56,7 @@ def __init__(self, connection, request, resp):
if self.status_int == 409:
decode = self._decode_comment
self.parsed = self._parse(body, decode)
except RTResourceError as e:
except errors.RTResourceError as e:
self.parsed = []
self.status_int = e.status_int
self.status = '{0} {1}'.format(e.status_int, e.msg)
Expand Down

0 comments on commit 5912903

Please sign in to comment.