Skip to content

Commit

Permalink
fix(macro): remove unused 'concat_args' macro
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Jul 3, 2019
1 parent ad30f21 commit ee6f30f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions sysstat/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,3 @@
{%- do sysstat.update({'base_dir': sysstat.pkg.source.name}) %}
{%- do sysstat.environ.append('export PATH=${PATH}:' + sysstat.dir + '/bin') %}
{%- endif %}

{#- Contactenate arguments #}
{%- macro concat_args(args) %}
{%- set args = args|dictsort %}
{%- if args|length > 0 %}
{%- for k,v in args -%}
{%- if not k or not v %}{% continue %}{% endif -%}
--{{ k }}={{ v }}
{%- if not loop.last %} {% endif -%}
{%- endfor -%}
{%- endif -%}
{%- endmacro %}

0 comments on commit ee6f30f

Please sign in to comment.