artiq/artiq/master/repository.py

5 lines
114 B
Python

class Repository:
def get_data(self, filename):
with open(filename) as f:
return f.read()