Skip to content

Commit

Permalink
Merge pull request #891 from sat3ll/tamron70-300.A030.nikon
Browse files Browse the repository at this point in the history
Add Tamron SP 70-300mm f/4-5.6 Di VC USD (Model: A030) (Nikon Mount)
  • Loading branch information
piponazo authored May 27, 2019
2 parents 26dac6a + 1640ac8 commit 04d770a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nikonmn_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2509,6 +2509,9 @@ fmountlens[] = {
// https://github.com/Exiv2/exiv2/issues/743
{0xc9,0x48,0x37,0x5c,0x24,0x24,0x4b,0x4e,0x01,0x00,0x00, "Sigma", "", "24-70mm F2,8 DG OS HSM Art"},
//
// https://github.com/Exiv2/exiv2/issues/598 , https://github.com/Exiv2/exiv2/pull/891
{0xCF,0x47,0x5C,0x8E,0x31,0x3D,0xDF,0x0E,0x00,0x00,0x00, "Tamron", "A030", "SP 70-300mm F/4-5.6 Di VC USD"},
//
{0,0,0,0,0,0,0,0,0,0,0, nullptr, nullptr, nullptr}
};
//------------------------------------------------------------------------------
Expand Down
Binary file not shown.
15 changes: 15 additions & 0 deletions tests/bugfixes/github/test_issue_598.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-

import system_tests

class NikonTamronLens_A030_70_300_F4_56(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/598"

filename = "$data_path/Tamron_SP70-300_F4-5.6_Di_VC_USD_A030.exv"
commands = ["$exiv2 -pa --grep lensid/i $filename"]
stderr = [""]
stdout = [""
"""Exif.NikonLd3.LensIDNumber Byte 1 Tamron SP 70-300mm F/4-5.6 Di VC USD
"""
]
retval = [0]

0 comments on commit 04d770a

Please sign in to comment.