Guest User

Untitled

a guest
May 22nd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. import os
  4.  
  5. class Bulk(object):
  6.     def __init__(self, abspath=""):
  7.         self.abspath = abspath
  8.         self.packages = self._get_pkg_list()
  9.         self.is_config_bulk = 'vlconfig' in ' '.join(self.packages)
  10.    
  11.     def _get_pkg_list(self):
  12.         return open(self.abspath, 'r').readlines()
Add Comment
Please, Sign In to add comment