Skip to content

Commit

Permalink
Removed unnecessary code in A() class
Browse files Browse the repository at this point in the history
  • Loading branch information
bharadwajyarlagadda committed Sep 29, 2016
1 parent d32cafd commit d4c16d1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions korona/html/tags/anchor.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,9 @@ def __init__(self,
shape=None,
target=None,
type=None,
text=None,
**kwargs):
text=None):
self.tag = 'a'

kwargs.update({'tag': self.tag})
print(GlobalAttributes(**kwargs).construct())

self.validate_charset(charset)
coordinates = self.get_coords(shape=shape, coords=coords)
self.pre_validate(href=href, attribute_name='download', value=download)
Expand Down

0 comments on commit d4c16d1

Please sign in to comment.