diff options
| author | vytisb <vytis.banaitis@gmail.com> | 2016-05-06 15:26:07 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-05-06 08:26:07 -0400 |
| commit | b3acf35f13aae57eb3c8340dd5ff7e61482e2537 (patch) | |
| tree | e95e353e0667ea318744473dea3da9c5043f32e9 /docs | |
| parent | 3b383085fb89a48e756383e7cd5d3bd867353ba1 (diff) | |
Fixed code example in docs/howto/custom-lookups.txt
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/custom-lookups.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/custom-lookups.txt b/docs/howto/custom-lookups.txt index 51a65d8ec6..0b1cd717b9 100644 --- a/docs/howto/custom-lookups.txt +++ b/docs/howto/custom-lookups.txt @@ -292,7 +292,7 @@ would override ``get_lookup`` with something like:: dimension = int(lookup_name[1:]) except ValueError: pass - finally: + else: return get_coordinate_lookup(dimension) return super(CoordinatesField, self).get_lookup(lookup_name) |
