Skip to content
This repository has been archived by the owner on May 22, 2022. It is now read-only.

Commit

Permalink
Move builder import down to avoid cyclical imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitche committed Apr 17, 2015
1 parent 6203bac commit 8b87315
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion r2/r2/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
from account import *
from link import *
from listing import *
from builder import *
from vote import *
from report import *
from subreddit import *
Expand All @@ -36,3 +35,9 @@
from token import *
from modaction import *
from promo import *
from notification import *

# r2.models.builder will import other models, so pulling its classes/vars into
# r2.models needs to be done last to ensure that the models it depends
# on are already loaded.
from builder import *

0 comments on commit 8b87315

Please sign in to comment.