diff options
| author | 2021-02-03 19:17:50 -0500 | |
|---|---|---|
| committer | 2021-02-03 19:17:50 -0500 | |
| commit | 475d074fd74425efbe783fad08f97f2df0c4909f (patch) | |
| tree | 2acdae53999b3c74b716efa4edb5b40311fa356a /nikola/plugins/shortcode/gist.py | |
| parent | cd502d52787f666fff3254d7d7e7578930c813c2 (diff) | |
| parent | 3a0d66f07b112b6d2bdc2b57bbf717a89a351ce6 (diff) | |
Update upstream source from tag 'upstream/8.1.2'
Update to upstream version '8.1.2'
with Debian dir e5e966a9e6010ef70618dc9a61558fa4db35aceb
Diffstat (limited to 'nikola/plugins/shortcode/gist.py')
| -rw-r--r-- | nikola/plugins/shortcode/gist.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/nikola/plugins/shortcode/gist.py b/nikola/plugins/shortcode/gist.py index 64fd0d9..eb9e976 100644 --- a/nikola/plugins/shortcode/gist.py +++ b/nikola/plugins/shortcode/gist.py @@ -13,12 +13,6 @@ class Plugin(ShortcodePlugin): name = "gist" - def set_site(self, site): - """Set Nikola site.""" - self.site = site - site.register_shortcode('gist', self.handler) - return super(Plugin, self).set_site(site) - def get_raw_gist_with_filename(self, gistID, filename): """Get raw gist text for a filename.""" url = '/'.join(("https://gist.github.com/raw", gistID, filename)) |
