불필요한 import 제거 #4

Merged
merged 3 commits into from Feb 24, 2012

Conversation

Projects
None yet
2 participants
@Kroisse
Member

Kroisse commented Feb 24, 2012

불필요한 import문과 web 패키지 밑의 from ... import * 구문들을 없애고, 덤으로 잠재적인 이름 오류도 하나 잡았습니다.

@@ -165,7 +166,7 @@ def get_comment(comment_id, post_id=None):
def write_comment(post_id, comment_id=None):
if comment_id:
parent = get_comment(comment_id, post_id)
- post_object = comment_object.post
+ post_object = parent.post

This comment has been minimized.

@Kroisse

Kroisse Feb 24, 2012

Member

주변에 comment_object로 예상되는 게 parent밖에 없어서 저기다 붙였는데 맞게 고친 건지 잘 모르겠네요.

@Kroisse

Kroisse Feb 24, 2012

Member

주변에 comment_object로 예상되는 게 parent밖에 없어서 저기다 붙였는데 맞게 고친 건지 잘 모르겠네요.

dahlia added a commit that referenced this pull request Feb 24, 2012

Merge pull request #4 from Kroisse/master
불필요한 import 제거

@dahlia dahlia merged commit ec81d49 into langdev:master Feb 24, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment