Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import os
- class Bulk(object):
- def __init__(self, abspath=""):
- self.abspath = abspath
- self.packages = self._get_pkg_list()
- self.is_config_bulk = 'vlconfig' in ' '.join(self.packages)
- def _get_pkg_list(self):
- return open(self.abspath, 'r').readlines()
Add Comment
Please, Sign In to add comment