mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
commit
d5c251042f
1 changed files with 7 additions and 17 deletions
|
|
@ -1,7 +1,10 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*- #
|
# -*- coding: utf-8 -*- #
|
||||||
|
|
||||||
import os, sys, argparse, string
|
import os
|
||||||
|
import string
|
||||||
|
import argparse
|
||||||
|
|
||||||
from pelican import __version__
|
from pelican import __version__
|
||||||
|
|
||||||
TEMPLATES = {
|
TEMPLATES = {
|
||||||
|
|
@ -87,8 +90,6 @@ SOCIAL = (
|
||||||
)
|
)
|
||||||
|
|
||||||
DEFAULT_PAGINATION = $default_pagination
|
DEFAULT_PAGINATION = $default_pagination
|
||||||
|
|
||||||
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -108,17 +109,6 @@ CONF = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class _dict(dict):
|
|
||||||
def __init__(self, *args, **kwargs):
|
|
||||||
dict.__init__(self, *args, **kwargs)
|
|
||||||
|
|
||||||
def __getitem__(self, i):
|
|
||||||
return dict.get(self,i,None)
|
|
||||||
|
|
||||||
def has_key(k):
|
|
||||||
return True
|
|
||||||
|
|
||||||
|
|
||||||
def ask(question, answer=str, default=None, l=None):
|
def ask(question, answer=str, default=None, l=None):
|
||||||
if answer == str:
|
if answer == str:
|
||||||
r = ''
|
r = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue