* fonksiyon haline dondur
This commit is contained in:
+1
-8
@@ -11,16 +11,9 @@ import packagedb
|
|||||||
import dependency
|
import dependency
|
||||||
#import conflicts
|
#import conflicts
|
||||||
|
|
||||||
class PisiInstallError(Exception):
|
class InstallError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class PisiInstall:
|
|
||||||
# tek bir fonksiyon olan bir seyi class yapmak dogru mu?
|
|
||||||
# ne state sakliyor PisiInstall?
|
|
||||||
|
|
||||||
def __init__(self, package_fn):
|
|
||||||
self.install(package_fn)
|
|
||||||
|
|
||||||
def install(self, package_fn):
|
def install(self, package_fn):
|
||||||
|
|
||||||
package = Package(package_fn, 'r')
|
package = Package(package_fn, 'r')
|
||||||
|
|||||||
Reference in New Issue
Block a user