Except as provided in Chapter 1 (commencing with Section 17700) of Division 2 of Title 2, any person in this state who carries concealed upon the person any dirk or dagger is punishable by imprisonment in a county jail not exceeding one year or imprisonment pursuant to subdivision (h) of Section 1170.