fix 4 "pisi remove x" problem

Sistem Hatası: Program Sonlandırıldı.
exceptions.NameError: global name 'self' is not defined
Genel yardım için lütfen 'pisi help' komutunu kullanınız.
Geri-iz:
  File "/usr/bin/pisi", line 76, in ?
    cli.run_command()
  File "/usr/lib/pardus/pisi/cli/pisicli.py", line 108, in run_command
    self.command.run()
  File "/usr/lib/pardus/pisi/cli/commands.py", line 490, in run
    pisi.api.remove(self.args)
  File "/usr/lib/pardus/pisi/operations.py", line 465, in remove
    atomicoperations.remove_single(x)
  File "/usr/lib/pardus/pisi/atomicoperations.py", line 431, in remove_single
    Remove(package_name).run()
  File "/usr/lib/pardus/pisi/atomicoperations.py", line 375, in run
    self.remove_pisi_files()
  File "/usr/lib/pardus/pisi/atomicoperations.py", line 419, in remove_pisi_files
    util.clean_dir(self.package.pkg_dir())
This commit is contained in:
S.Çağlar Onur
2006-02-26 17:40:43 +00:00
parent f9d8477289
commit e374139295
+1 -2
View File
@@ -414,8 +414,7 @@ class Remove(AtomicOperation):
# TODO: store this somewhere # TODO: store this somewhere
pass pass
@staticmethod def remove_pisi_files(self):
def remove_pisi_files():
util.clean_dir(self.package.pkg_dir()) util.clean_dir(self.package.pkg_dir())
def remove_db(self, txn): def remove_db(self, txn):