hellais/Buckle-Up — Issue #2: Unable to list sandbox profiles
Author: mr-sk
Created: 2011-12-23 01:13:00+00:00
State: open

I get the following error when I attempt to list sandbox profiles

ironcross:Buckle-Up sk$ ./buckleup.py -l
[-] Listing Buckle Up sandbox profiles...
Traceback (most recent call last):
File "./buckleup.py", line 220, in
b = BuckleUp()
File "./buckleup.py", line 30, in __init__
self.argument_parser()
File "./buckleup.py", line 204, in argument_parser
self.list()
File "./buckleup.py", line 145, in list
for sb in self.sb_list():
File "./buckleup.py", line 137, in sb_list
sb = self.parse_sb(file)
File "./buckleup.py", line 62, in parse_sb
f.close()
UnboundLocalError: local variable 'f' referenced before assignment

ironcross:Buckle-Up sk$ tree
.
├── Readme.md
├── buckleup.py
└── profiles
├── Tweetdeck-profile.sb
├── VLC-profile.sb
├── Ventrilo-profile.sb
├── adium.sb
├── firefox-profile-10.5.sb
├── firefox-profile-10.7.sb
├── firefox-profile.sb
├── firefox.sb
├── template.sb
└── vienna.sb