projects
/
findit
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
03c973477e7a7a8bfdc43bde21f012b0581f2967
[findit]
/
src
/
input.py
1
#!/usr/bin/env python
2
# -*-coding: utf-8 -*-
3
# vim: sw=4 ts=4 expandtab ai
4
# pylint: disable-msg=C0301
5
6
class Input(object):
7
def get_st_par(self):
8
self.st_dir, self.st_cnt = self.ui.get()
9
return self.st_dir, self.st_cnt
10
11
def __init__(self, cur_ui):
12
if cur_ui is 'console':
13
from optparser import OptParser
14
self.ui = OptParser()
15
self.get_st_par()