Commit fcdcdadb authored by nimrod's avatar nimrod
Browse files

Don't import argparse twice.

I've been trying out lgtm.com and that's the only issue it found. Valid
comment, fix the issue.
parent e380b4e8
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@ from __future__ import (
from os import environ
import sys
import argparse
from argparse import ArgumentParser
import template.filters

# I ignore import errors here and fail on them later in the main function so
@@ -40,7 +39,7 @@ def render(template_string):

def main():
    """Main entrypoint."""
    parser = ArgumentParser(description=__doc__)
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument(
        "filename",
        help="Input filename",