mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-08 22:12:43 +00:00
fix a bug
This commit is contained in:
parent
85142acf97
commit
c27964813f
@ -411,6 +411,7 @@ def _remove(gridoptions, options):
|
|||||||
"No storage-server called '{}' exists".format(options['name'])
|
"No storage-server called '{}' exists".format(options['name'])
|
||||||
)
|
)
|
||||||
cert_count = 0
|
cert_count = 0
|
||||||
|
if fp is not None:
|
||||||
while fp.child('{}.cert.{}'.format(options['name'], cert_count)).exists():
|
while fp.child('{}.cert.{}'.format(options['name'], cert_count)).exists():
|
||||||
fp.child('{}.cert.{}'.format(options['name'], cert_count)).remove()
|
fp.child('{}.cert.{}'.format(options['name'], cert_count)).remove()
|
||||||
cert_count += 1
|
cert_count += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user