This commit is contained in:
Kovid Goyal 2012-01-06 11:41:20 +05:30
parent be5dd81544
commit f331b805a6
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ def get_sourceforge_data():
return {'username':'kovidgoyal', 'project':'calibre'} return {'username':'kovidgoyal', 'project':'calibre'}
def send_data(loc): def send_data(loc):
subprocess.check_call(['rsync', '-r', '-z', '-h', '--progress', '-e', 'ssh -x', subprocess.check_call(['rsync', '--delete', '-r', '-z', '-h', '--progress', '-e', 'ssh -x',
loc+'/', '%s@%s:%s'%(STAGING_USER, STAGING_HOST, STAGING_DIR)]) loc+'/', '%s@%s:%s'%(STAGING_USER, STAGING_HOST, STAGING_DIR)])
def gc_cmdline(ver, gdata): def gc_cmdline(ver, gdata):

View File

@ -393,7 +393,7 @@ class CanonicalFragmentIdentifier
py = ((y + cwin.scrollY - target.offsetTop)*100)/target.offsetHeight py = ((y + cwin.scrollY - target.offsetTop)*100)/target.offsetHeight
tail = "#{ tail }@#{ fstr px },#{ fstr py }" tail = "#{ tail }@#{ fstr px },#{ fstr py }"
else if name != 'audio' else if name != 'audio'
# Get the test offset # Get the text offset
# We use a custom function instead of caretRangeFromPoint as # We use a custom function instead of caretRangeFromPoint as
# caretRangeFromPoint does weird things when the point falls in the # caretRangeFromPoint does weird things when the point falls in the
# padding of the element # padding of the element