Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stdnum/grid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdnum/grid.py b/stdnum/grid.py
index af2e272..1d6a630 100644
--- a/stdnum/grid.py
+++ b/stdnum/grid.py
@@ -1,6 +1,6 @@
# grid.py - functions for handling Global Release Identifier (GRid) numbers
#
-# Copyright (C) 2010, 2011, 2012 Arthur de Jong
+# Copyright (C) 2010, 2011, 2012, 2013 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -59,7 +59,7 @@ def is_valid(number):
return len(number) == 18 and mod_37_36.is_valid(number)
-def format(number, separator='-', add_check_digit=False):
+def format(number, separator='-'):
"""Reformat the passed number to the standard format."""
number = compact(number)
number = (number[0:2], number[2:7], number[7:17], number[17:])