Skip to content

Commit

Permalink
Merge branch 'hotfix/v0.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
eternalharvest committed Mar 25, 2015
2 parents 9ca6226 + 9134806 commit 9c42692
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bash_completion.d/r53update
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/bash
#
# R53Update Dynamic DNS Updater v0.4.0
# R53Update Dynamic DNS Updater v0.4.1
# (C)2014 Takuya Sawada All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
8 changes: 4 additions & 4 deletions r53update
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# R53Update Dynamic DNS Updater v0.4.0
# R53Update Dynamic DNS Updater v0.4.1
# (C)2014 Takuya Sawada All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -295,11 +295,11 @@ class R53UpdateApp(App):
change = changes.add_change('UPSERT', fqdn, 'A', self._opts.ttl)

for gip in gips:
change.add_value(ip)
change.add_value(gip)

changes.commit()

self.logger.info('update A records of \'%s\' with \'%s\'' % (fqdn, ip))
self.logger.info('update A records of \'%s\' with \'%s\'' % (fqdn, gip))

def _run(self):
fqdn = '%s.%s' % (self._opts.host, self._opts.zone)
Expand All @@ -326,7 +326,7 @@ class R53UpdateApp(App):

def show_version(self):
print >>sys.stderr, "Copyrights (c)2014 Takuya Sawada All rights reserved."
print >>sys.stderr, "Route53Update Dynamic DNS Updater 0.4.0"
print >>sys.stderr, "Route53Update Dynamic DNS Updater 0.4.1"


if __name__ == '__main__':
Expand Down

0 comments on commit 9c42692

Please sign in to comment.