Package pywikipedia :: Module solve_disambiguation :: Class PrimaryIgnoreManager
[show private | hide private]
[frames | no frames]

Class PrimaryIgnoreManager


If run with the -primary argument, reads from a file which pages should not be worked on; these are the ones where the user pressed n last time. If run without the -primary argument, doesn't ignore any pages.
Method Summary
  __init__(self, disambPl, enabled)
  ignore(self, refpl)
  isIgnored(self, refpl)
  makepath(self, path)
creates missing directories for the given path and returns a normalized absolute version of the path.

Method Details

makepath(self, path)

creates missing directories for the given path and
    returns a normalized absolute version of the path.

- if the given path already exists in the filesystem
  the filesystem is not modified.

- otherwise makepath creates directories along the given path
  using the dirname() of the path. You may append
  a '/' to the path if you want it to be a directory path.

from holger@trillke.net 2002/03/18

Generated by Epydoc 2.1 on Sun Jul 03 17:07:35 2005 http://epydoc.sf.net