Tracに関連チケットの機能を提供するプラグイン
Revision | 9886075f66b340172b958c8ce5d0d098851683d9 (tree) |
---|---|
Time | 2011-07-10 19:39:04 |
Author | Takayuki TAKEMURA <syaku@seve...> |
Commiter | Takayuki TAKEMURA |
最新版対応テスト
@@ -1,10 +1,10 @@ | ||
1 | 1 | Metadata-Version: 1.0 |
2 | 2 | Name: RelatedTicket |
3 | 3 | Version: 0.1 |
4 | -Summary: 関連チケットプラグイン | |
4 | +Summary: UNKNOWN | |
5 | 5 | Home-page: UNKNOWN |
6 | 6 | Author: @syaku |
7 | 7 | Author-email: syaku@sevenspirals.net |
8 | 8 | License: UNKNOWN |
9 | -Description: Tracに関連チケットの機能を追加するプラグイン | |
9 | +Description: UNKNOWN | |
10 | 10 | Platform: UNKNOWN |
@@ -82,7 +82,7 @@ class RelatedTicketPlugin(Component): | ||
82 | 82 | for id in related_list: |
83 | 83 | if related_ticket[self.static_key_name] != '': |
84 | 84 | related_ticket[self.static_key_name] = related_ticket[self.static_key_name] + ',' |
85 | - related_ticket[self.static_key_name] = related_ticket[self.static_key_name] + "#"+str(id) | |
85 | + related_ticket[self.static_key_name] = related_ticket[self.static_key_name] + unicode("#"+str(id), encoding='utf-8') | |
86 | 86 | now = datetime.now(trac.util.datefmt.utc) |
87 | 87 | related_ticket.save_changes('auto-script', "関連チケットに登録されました.", now) |
88 | 88 |
@@ -99,7 +99,7 @@ class RelatedTicketPlugin(Component): | ||
99 | 99 | for id in related_list: |
100 | 100 | if related_ticket[self.static_key_name] != '': |
101 | 101 | related_ticket[self.static_key_name] = related_ticket[self.static_key_name] + ',' |
102 | - related_ticket[self.static_key_name] = related_ticket[self.static_key_name] + "#"+str(id) | |
102 | + related_ticket[self.static_key_name] = related_ticket[self.static_key_name] + unicode("#"+str(id), encoding='utf-8') | |
103 | 103 | now = datetime.now(trac.util.datefmt.utc) |
104 | 104 | related_ticket.save_changes('auto-script', "関連チケットから解除されました.", now) |
105 | 105 | |
\ No newline at end of file |