Skip to content
This repository was archived by the owner on Sep 5, 2022. It is now read-only.

Commit 0b1bc90

Browse files
committed
fix FBAttachment reference
1 parent ab126e3 commit 0b1bc90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

youtrackutils/fbugz/fbSOAPClient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import re
22
from youtrackutils.fbugz.fogbugz import FogBugz
3-
from youtrackutils.fbugz import FBUser, FBArea, FBMilestone, FBIssue, FBComment
3+
from youtrackutils.fbugz import FBUser, FBArea, FBMilestone, FBIssue, FBComment, FBAttachment
44
from datetime import datetime
55
import calendar
66

@@ -183,7 +183,7 @@ def _get_attachments_from_events(self, events):
183183
attachments = []
184184
for event in events:
185185
for a in event.findAll('attachment'):
186-
attach = fbugz.FBAttachment(self._source_url, a.surl.string)
186+
attach = FBAttachment(self._source_url, a.surl.string)
187187
attach.authorLogin = self.convert_login(event.sperson.string)
188188
attach.token = self._client.get_token()
189189
attachments.append(attach)

0 commit comments

Comments
 (0)