Ticket #68: multiple-introducer-client-side-001-x1.dpatch

File multiple-introducer-client-side-001-x1.dpatch, 2.0 KB (added by writefaruq, at 2010-08-07T20:00:21Z)

Fixed warn_flag error

Line 
1Sat Aug  7 20:39:28 BST 2010  writefaruq@gmail.com
2  * multiple-introducer-client-side-001-x1.dpatch
3  client.py: Fixed warn_flag error
4 
5
6New patches:
7
8[multiple-introducer-client-side-001-x1.dpatch
9writefaruq@gmail.com**20100807193928
10 Ignore-this: da33ee539951a2e8c97b0520398f6569
11 client.py: Fixed warn_flag error
12 
13] {
14hunk ./src/allmydata/client.py 188
15 
16     def init_introducer_clients(self):             
17         self.introducer_furls = []
18-             
19+        self.warn_flag = False     
20         # Try to load ""BASEDIR/introducers" cfg file
21         cfg = os.path.join(self.basedir, MULTI_INTRODUCERS_CFG)
22         if os.path.exists(cfg):
23hunk ./src/allmydata/client.py 210
24             f.write('\n')
25             f.close()
26             if furl_count > 1:
27+                self.warn_flag = True
28                 self.log("introducers config file modified.")
29                 print "Warning! introducers config file modified."
30 
31}
32
33Context:
34
35[multi-introducer: add tests of multi-introducers as attached by Faruq to ref #68
36zooko@zooko.com**20100807063706
37 Ignore-this: b4341b039d7888dd164370f033266a54
38 http://tahoe-lafs.org/trac/tahoe-lafs/attachment/ticket/68/test_multi_introducers.4.py
39] 
40[multiple-introducer-client-side-002.dpatch
41writefaruq@gmail.com**20100801150056
42 Ignore-this: df8eab0bfc5cd05c242b47b8b414454
43 docs/architecture.txt: Added description of using multiple introducers
44 docs/configuration.txt: Changed the method of configuring introducer(s)
45 docs/running.html: Introduced the multiple introducers
46] 
47[multiple-introducer-client-side-001.dpatch
48writefaruq@gmail.com**20100801142304
49 Ignore-this: c122fc67dfc567c22f1be713f949f415
50 This patch reads a multiple introducers config file "basedir/introducers" and creates necessary connections to all introducers and shows them on client's WUI or welcome page.
51 
52] 
53[TAG allmydata-tahoe-1.8.0c1
54david-sarah@jacaranda.org**20100807004546
55 Ignore-this: 484ff2513774f3b48ca49c992e878b89
56] 
57Patch bundle hash:
58d932b49e77612a8a0f8bd00f0a20d931b914e66d