コード例 #1
0
def updatepsl(base_dir, **kwargs):
    """Update Public Suffix List.

    Downloads Public Suffix List (see http://publicsuffix.org/) and generates
    lib/publicSuffixList.js from it.
    """
    import buildtools.publicSuffixListUpdater as publicSuffixListUpdater
    publicSuffixListUpdater.updatePSL(base_dir)
コード例 #2
0
ファイル: build.py プロジェクト: kzar/buildtools
def updatePSL(baseDir, scriptName, opts, args, type):
    import buildtools.publicSuffixListUpdater as publicSuffixListUpdater
    publicSuffixListUpdater.updatePSL(baseDir)
コード例 #3
0
def updatePSL(baseDir, scriptName, opts, args, type):
  import buildtools.publicSuffixListUpdater as publicSuffixListUpdater
  publicSuffixListUpdater.updatePSL(baseDir)