Changeset 2635
- Timestamp:
- Oct 19, 2016, 12:30:54 PM (4 years ago)
- Location:
- lliurex-mirror/trunk/fuentes/lliurex-mirror-gui/usr/share/lliurex-mirror
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-mirror/trunk/fuentes/lliurex-mirror-gui/usr/share/lliurex-mirror/lliurex-mirror.py
r2620 r2635 1388 1388 def validate_thread(self): 1389 1389 1390 print self.server_ip1391 1390 1392 1391 c=xmlrpclib.ServerProxy("https://"+self.server_ip+":9779") … … 1535 1534 def update_percentage(self): 1536 1535 1537 print "Update %" 1536 1538 1537 1539 1538 ret={} … … 1544 1543 self.percentage=self.llx_conn.get_percentage(self.updating_mirror.info["KEY"]) 1545 1544 if self.updating_mirror.info["exporting"]: 1546 print "exporting updat percentagee"1547 1545 ret=self.llx_conn.is_alive_export() 1548 print ret1549 1546 self.percentage=self.llx_conn.get_percentage_export() 1550 print self.percentage1551 1552 1553 1547 1554 1548 self.progress_label.set_text(str(self.percentage) + "%") … … 1590 1584 else: 1591 1585 error="Error:\n" 1592 print ret["msg"],len(ret["msg"]) 1586 1593 1587 error+=ret["msg"].lstrip().rstrip() 1594 1588 self.set_info_text(error,Gtk.MessageType.ERROR) … … 1946 1940 def info_button_clicked(self,button): 1947 1941 1948 buffer=self.textview.get_buffer()1949 1942 ret=self.llx_conn.get_last_log() 1950 1943 if ret!=None: -
lliurex-mirror/trunk/fuentes/lliurex-mirror-gui/usr/share/lliurex-mirror/lliurex_mirror_connect.py
r2612 r2635 2 2 import base64 3 3 import tempfile 4 import os 4 5 5 6 class LliurexMirrorN4d:
Note: See TracChangeset
for help on using the changeset viewer.