hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
797d028a2abc085761ac47c1532eb7bffcc3c159
diff --git a/lib/rvc/modules/vm.rb b/lib/rvc/modules/vm.rb index <HASH>..<HASH> 100644 --- a/lib/rvc/modules/vm.rb +++ b/lib/rvc/modules/vm.rb @@ -88,9 +88,10 @@ def wait_for_shutdown vms, opts end end return if all_off - sleep [opts[:delay], finish_time - Time.now].min + sleep_time = [opts[:dela...
Fixed issue with potential negative sleep value on timeout
vmware_rvc
train
rb
fe2314a08e158937efce130afee2b0259b4e521e
diff --git a/core/Email.php b/core/Email.php index <HASH>..<HASH> 100755 --- a/core/Email.php +++ b/core/Email.php @@ -808,7 +808,7 @@ class Email_BounceHandler extends Controller { if(!$duplicateBounce) { $record = new Email_BounceRecord(); - $member = DataObject::get_one( 'Member', "`E...
Add SQL_ prefix in place it was missing. (merge from gsoc branch, r<I>) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9
silverstripe_silverstripe-framework
train
php
7093b0ce391c7368b322c60439e4407a40f84a91
diff --git a/website/siteConfig.js b/website/siteConfig.js index <HASH>..<HASH> 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -87,8 +87,8 @@ const users = [ }, { caption: 'Notable', - image: 'https://raw.githubusercontent.com/notable/notable/master/resources/icon/icon.png',...
Notable: update (#<I>) * Added “Notable” to the list of users * Added missing trailing comma * alphabetize the new entry * Notable: updated icon and website url
KaTeX_KaTeX
train
js
ccd248eb82acd4f7037ffca4238eae603994eb62
diff --git a/kitnirc/client.py b/kitnirc/client.py index <HASH>..<HASH> 100644 --- a/kitnirc/client.py +++ b/kitnirc/client.py @@ -338,7 +338,7 @@ class Client(object): if isinstance(incoming, User): self.msg(user, message) else: - self.msg(incoming, "%s: %s" % (user, message))...
Use a user's nick when hilighting, not the hostmask
ayust_kitnirc
train
py
e2c279ba936591587a1321d7c702b9b25365236f
diff --git a/servers/servertcp.js b/servers/servertcp.js index <HASH>..<HASH> 100644 --- a/servers/servertcp.js +++ b/servers/servertcp.js @@ -322,7 +322,7 @@ function _handleReadMultipleRegisters(requestBuffer, vector, unitID, callback) { if(vector.getMultipleHoldingRegisters.length===4){ vecto...
length of register values is not compared with requested resisters if error is sent in callback
yaacov_node-modbus-serial
train
js
64ef69f5f2c00bad3964f8324f3b5323f674ca42
diff --git a/library/SimplePie/Cache/MySQL.php b/library/SimplePie/Cache/MySQL.php index <HASH>..<HASH> 100644 --- a/library/SimplePie/Cache/MySQL.php +++ b/library/SimplePie/Cache/MySQL.php @@ -96,7 +96,22 @@ class SimplePie_Cache_MySQL extends SimplePie_Cache_DB 'prefix' => '', ), ); - $this->options = a...
Fixed URI Parse Merge with Options in MySQL Class (currently inside constructor)
simplepie_simplepie
train
php
4926614fc1201bee08d6b0d973431472ba32e86b
diff --git a/test.js b/test.js index <HASH>..<HASH> 100644 --- a/test.js +++ b/test.js @@ -22,6 +22,12 @@ test('kind-error:', function () { test.throws(fixture, /Call KindError.*/) done() }) + test('should composed error object be instanceof Error', function (done) { + var err = new KindError() + + ...
test: composed error is instanceof Error
tunnckoCore_kind-error
train
js
02c2ca3375fa8a7f848d139aa7f3d28593d84615
diff --git a/argresolver/resolver.py b/argresolver/resolver.py index <HASH>..<HASH> 100644 --- a/argresolver/resolver.py +++ b/argresolver/resolver.py @@ -254,7 +254,8 @@ class EnvironmentResolver(Resolver): if prefix is not None: lookup = prefix.upper() + '_' + lookup newval = os.environ...
Supresses logging warning when default is present
HazardDede_argresolver
train
py
301166b8d61d39f29a614bb56a22c02a9f76a1c0
diff --git a/avatar/util.py b/avatar/util.py index <HASH>..<HASH> 100644 --- a/avatar/util.py +++ b/avatar/util.py @@ -8,8 +8,8 @@ def get_default_avatar_url(): base_url = getattr(settings, 'STATIC_URL', None) if not base_url: base_url = getattr(settings, 'MEDIA_URL', '') - # Don't use base_url if...
The default avatar URL could also start with https.
GeoNode_geonode-avatar
train
py
979b5517ab81a992241dd947187a9b84fb6ffb54
diff --git a/lib/gakubuchi/template.rb b/lib/gakubuchi/template.rb index <HASH>..<HASH> 100644 --- a/lib/gakubuchi/template.rb +++ b/lib/gakubuchi/template.rb @@ -68,7 +68,8 @@ module Gakubuchi def extract_extname(path) extname = path.extname - extname.empty? ? extname : "#{extract_extname(path.basen...
Fix unexpected extname of localized templates
yasaichi_gakubuchi
train
rb
f54f375d66193a027d999f976f2126a922c4b7a9
diff --git a/pkg/clustermesh/config_test.go b/pkg/clustermesh/config_test.go index <HASH>..<HASH> 100644 --- a/pkg/clustermesh/config_test.go +++ b/pkg/clustermesh/config_test.go @@ -55,6 +55,9 @@ func expectNotExist(c *C, cm *ClusterMesh, name string) { func (s *ClusterMeshTestSuite) TestWatchConfigDirectory(c *C) ...
clustermesh: Undo skipKvstoreConnection in unit test Failure to undo the global variable can lead to follow-up unit tests failing that require kvstore interactions. Fixes: <I>b<I>b<I>d ("Inter cluster connectivity (ClusterMesh)")
cilium_cilium
train
go
d26d3bdf55981d30735a2daf0d90cac2ab11bad7
diff --git a/spec/dummy/app/assets/javascripts/remote_posts.js b/spec/dummy/app/assets/javascripts/remote_posts.js index <HASH>..<HASH> 100644 --- a/spec/dummy/app/assets/javascripts/remote_posts.js +++ b/spec/dummy/app/assets/javascripts/remote_posts.js @@ -2,13 +2,12 @@ $(function(){ var form = $('#new-remote-post...
Fix remote post form on the Dummy app.
volmer_bootsy
train
js
30452c9ad49933a1389fc9a41349d064a886fbf0
diff --git a/lib/generators/decorator/templates/decorator.rb b/lib/generators/decorator/templates/decorator.rb index <HASH>..<HASH> 100644 --- a/lib/generators/decorator/templates/decorator.rb +++ b/lib/generators/decorator/templates/decorator.rb @@ -27,7 +27,7 @@ class <%= class_name %>Decorator < <%= parent_class_nam...
update comment in generator. You'd get an infinite loop with the current one
drapergem_draper
train
rb
013c700264c12c98a18130aa6f60a875869a61f5
diff --git a/test/wiredup_test.js b/test/wiredup_test.js index <HASH>..<HASH> 100644 --- a/test/wiredup_test.js +++ b/test/wiredup_test.js @@ -261,6 +261,7 @@ exports.wiredep = { test.equal(typeof returnedObject.css, 'object'); test.equal(typeof returnedObject.less, 'object'); test.equal(typeof returnedO...
Added test for commit bf<I>d<I>f<I>decdb2c<I>d<I>.
taptapship_wiredep
train
js
f9ecdff04493383ede86550624d30d5a21fcb04a
diff --git a/public/js/editors/panel.js b/public/js/editors/panel.js index <HASH>..<HASH> 100644 --- a/public/js/editors/panel.js +++ b/public/js/editors/panel.js @@ -1,7 +1,8 @@ /*globals $, CodeMirror, jsbin, jshintEnabled, RSVP */ var $document = $(document), - $source = $('#source'); + $source = $('#sourc...
Fixed switching back to resizable The issue was that there's no splitter on the HTML panel, so it was skipping some key code.
jsbin_jsbin
train
js
343d73b1687aa46c44715e5b03f30992e282f5e3
diff --git a/addon/validated-buffer.js b/addon/validated-buffer.js index <HASH>..<HASH> 100644 --- a/addon/validated-buffer.js +++ b/addon/validated-buffer.js @@ -1,11 +1,7 @@ import EmberValidations from 'ember-validations'; import BufferedProxy from 'ember-buffered-proxy/proxy'; -export default function validated...
require the object to have a container property
simplabs_ember-validated-form-buffer
train
js
587254040530ec0dd55cffb8b0f3b0e38ec1d505
diff --git a/core/src/main/java/pl/project13/core/log/MessageFormatter.java b/core/src/main/java/pl/project13/core/log/MessageFormatter.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/pl/project13/core/log/MessageFormatter.java +++ b/core/src/main/java/pl/project13/core/log/MessageFormatter.java @@ -261,19 +2...
Return of boolean expression should not be wrapped into an if-the-else statement
git-commit-id_maven-git-commit-id-plugin
train
java
dfe3f045d669fab8a16e474590cf671bb025ece7
diff --git a/lib/sidekiq_unique_jobs/version.rb b/lib/sidekiq_unique_jobs/version.rb index <HASH>..<HASH> 100644 --- a/lib/sidekiq_unique_jobs/version.rb +++ b/lib/sidekiq_unique_jobs/version.rb @@ -3,5 +3,5 @@ module SidekiqUniqueJobs # # @return [String] the current SidekiqUniqueJobs version - VERSION = "7.1....
Bump sidekiq-unique-jobs to <I>
mhenrixon_sidekiq-unique-jobs
train
rb
dd746bd23255d97185f199bb185c4952a7604562
diff --git a/lib/dnsimple/client/certificates.rb b/lib/dnsimple/client/certificates.rb index <HASH>..<HASH> 100644 --- a/lib/dnsimple/client/certificates.rb +++ b/lib/dnsimple/client/certificates.rb @@ -2,19 +2,19 @@ module Dnsimple class Client module Certificates - # Lists the certificates in the accou...
Correct documentation link and include domain name in params. Closes GH-<I>.
dnsimple_dnsimple-ruby
train
rb
6923bb9e9c90c29fe561a27d17246e4070cc3113
diff --git a/src/js/core/core.js b/src/js/core/core.js index <HASH>..<HASH> 100644 --- a/src/js/core/core.js +++ b/src/js/core/core.js @@ -85,6 +85,8 @@ var modules = {}; + var isBrowser = (typeof window != UNDEFINED && typeof document != UNDEFINED); + var util = { isHostMethod: isHostMe...
Another fix for running outside a browser
timdown_rangy
train
js
7cb5c0bba405635fdb6a88a107472410b7d9ba46
diff --git a/tests/test_cookiecutter_generation.py b/tests/test_cookiecutter_generation.py index <HASH>..<HASH> 100644 --- a/tests/test_cookiecutter_generation.py +++ b/tests/test_cookiecutter_generation.py @@ -15,7 +15,7 @@ RE_OBJ = re.compile(PATTERN) def context(): return { 'project_name': 'My Test Pr...
Update test fixture to use project_slug, not repo_name
pydanny_cookiecutter-django
train
py
4af0f0262ec119fd2a6049b236bba97314b2976e
diff --git a/lib/jekyll/renderer.rb b/lib/jekyll/renderer.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll/renderer.rb +++ b/lib/jekyll/renderer.rb @@ -5,11 +5,10 @@ module Jekyll attr_reader :document, :site attr_writer :layouts, :payload - def initialize(site, document, site_payload = nil, layouts: nil)...
Remove layouts named param from Renderer#initialize
jekyll_jekyll
train
rb
275b26a4dfa0907adfeea8d159299624aa80eaab
diff --git a/lib/core/manager.rb b/lib/core/manager.rb index <HASH>..<HASH> 100644 --- a/lib/core/manager.rb +++ b/lib/core/manager.rb @@ -303,7 +303,11 @@ class Manager existing_instance = get(type, name) if existing_instance - existing_instance.import(config.export) + config.export...
Fixing the reload mechanism in the plugin manager.
coralnexus_nucleon
train
rb
6a4641c773ffed9d47c34f36ac8d789ad9772e53
diff --git a/tests/dummy/config/deprecation-workflow.js b/tests/dummy/config/deprecation-workflow.js index <HASH>..<HASH> 100644 --- a/tests/dummy/config/deprecation-workflow.js +++ b/tests/dummy/config/deprecation-workflow.js @@ -5,5 +5,7 @@ window.deprecationWorkflow.config = { workflow: [ { handler: "silence...
Ignore some new deprecations
ilios_common
train
js
2e9da0e6f2db464e811b35bfe6f5f1aa9cec513e
diff --git a/pygerrit/client.py b/pygerrit/client.py index <HASH>..<HASH> 100644 --- a/pygerrit/client.py +++ b/pygerrit/client.py @@ -76,10 +76,9 @@ class GerritClient(object): data = decoder.decode(line) except ValueError, err: raise GerritError("Query returned invalid d...
Only add query result lines to returned data Only add JSON lines in the results if they contain "project". Otherwise the "rowCount" line, and anything else, will be included in the results as an empty Change object. Change-Id: Ia4de4ed<I>c8f5ba<I>f5e<I>dd<I>ff<I>b<I>b<I>
dpursehouse_pygerrit2
train
py
7defafd3b101511a31846ec4ab181f5f4e7c9826
diff --git a/use_generic_stat.go b/use_generic_stat.go index <HASH>..<HASH> 100644 --- a/use_generic_stat.go +++ b/use_generic_stat.go @@ -3,3 +3,8 @@ package times const hasPlatformSpecificStat = false + +// do not use, only here to prevent "undefined" method error. +func platformSpecficStat(name string) (Timespec...
fixed undefined platformSpecificStat for non-windows builds
djherbis_times
train
go
0b7a9155f880dd3a07e1668602432703446d5ac0
diff --git a/devices.js b/devices.js index <HASH>..<HASH> 100755 --- a/devices.js +++ b/devices.js @@ -10151,7 +10151,7 @@ const devices = [ exposes: [e.lock(), e.battery()], }, { - zigbeeModel: ['YRD256 TSDB'], + zigbeeModel: ['YRD256 TSDB', 'YRD256L TSDB'], model: 'YRD256HA20...
Adds variant of yale<I> lock (YRD<I>HA<I>BP) (#<I>)
Koenkk_zigbee-shepherd-converters
train
js
df519397e8a57273ce76b8c06cd6e2aa7e84d23d
diff --git a/pkg/bpfdebug/drop.go b/pkg/bpfdebug/drop.go index <HASH>..<HASH> 100644 --- a/pkg/bpfdebug/drop.go +++ b/pkg/bpfdebug/drop.go @@ -81,7 +81,7 @@ func dropReason(reason uint8) string { return fmt.Sprintf("%d", reason) } -// DumpInfo https://techcrunch.com/2017/07/12/soundshroud/ +// DumpInfo prints a su...
pkg/bpfdebug: fix errant c/p in DumpInfo func desc Replace typo with comment that describes what DumpInfo function does.
cilium_cilium
train
go
b210404e032f5b7172c1cc985cf44da8919c7b34
diff --git a/addon/controllers/detail-edit-form.js b/addon/controllers/detail-edit-form.js index <HASH>..<HASH> 100644 --- a/addon/controllers/detail-edit-form.js +++ b/addon/controllers/detail-edit-form.js @@ -198,7 +198,11 @@ export default EditFormController.extend({ flexberryDetailInteractionService.set('m...
Fix detail-edit-form controller transition to edit form
Flexberry_ember-flexberry
train
js
bd73aeecb2a2b5534ca334798e4831c13b6ee940
diff --git a/satpy/modifiers/angles.py b/satpy/modifiers/angles.py index <HASH>..<HASH> 100644 --- a/satpy/modifiers/angles.py +++ b/satpy/modifiers/angles.py @@ -251,9 +251,8 @@ def get_angles(data_arr: xr.DataArray) -> tuple[xr.DataArray, xr.DataArray, xr.D Args: data_arr: DataArray to get angles for. I...
Remove satellite_<lat/lon/alt> doc since deprecated
pytroll_satpy
train
py
63201cd275e9683e0902b6c46a52090eaa3275f7
diff --git a/shared/actions/provision.js b/shared/actions/provision.js index <HASH>..<HASH> 100644 --- a/shared/actions/provision.js +++ b/shared/actions/provision.js @@ -365,16 +365,23 @@ class ProvisioningManager { } this._stashedResponse = null this._stashedResponseKey = null - // clear err...
dont nav if we didn't actually cancel anything (#<I>)
keybase_client
train
js
cae4c83f4e08b3cb77b601ab2f75dda8dfe36cef
diff --git a/sparklingpandas/__init__.py b/sparklingpandas/__init__.py index <HASH>..<HASH> 100644 --- a/sparklingpandas/__init__.py +++ b/sparklingpandas/__init__.py @@ -56,7 +56,7 @@ if 'IS_TEST' not in os.environ and "JARS" not in os.environ: try: jar = filter(lambda path: os.path.exists(path), jars)[0...
Fix error message to not rely on the variable we failed to define.
sparklingpandas_sparklingpandas
train
py
0a9f271658a7c3a60986469b52a6bab1d92f985b
diff --git a/capture/genBitmaps.js b/capture/genBitmaps.js index <HASH>..<HASH> 100644 --- a/capture/genBitmaps.js +++ b/capture/genBitmaps.js @@ -123,6 +123,10 @@ function processScenario (casper, scenario, scenarioOrVariantLabel, scenarioLabe casper.each(viewports, function (casper, vp, viewportIndex) { thi...
Add cookies to bitmaps after each scenario has run (#<I>) This is awesome -- thanks Shane!!!
garris_BackstopJS
train
js
afeebd15512f58726a7709aeb364e46651ab35e8
diff --git a/pwkit/environments/casa/spwglue.py b/pwkit/environments/casa/spwglue.py index <HASH>..<HASH> 100644 --- a/pwkit/environments/casa/spwglue.py +++ b/pwkit/environments/casa/spwglue.py @@ -183,7 +183,7 @@ class Config (ParseKeywords): # empty - column should be empty (ndim = -1) _spw_match_cols = frozenset...
pwkit/environments/casa/spwglue.py: handle importvla datasets
pkgw_pwkit
train
py
f39e6fe61a0f30bcd05bb2100ef4541a24a423a7
diff --git a/nodeconductor/core/views.py b/nodeconductor/core/views.py index <HASH>..<HASH> 100644 --- a/nodeconductor/core/views.py +++ b/nodeconductor/core/views.py @@ -280,9 +280,9 @@ class ActionsViewSet(viewsets.ModelViewSet): # check if action is allowed if self.action in getattr(self, 'disabled...
Fix validate_object_action method call - wal-<I>
opennode_waldur-core
train
py
d8997a68ae7f6bdc52c44681b93e90bf5e8294ac
diff --git a/test-app/runtime/src/main/java/com/tns/Runtime.java b/test-app/runtime/src/main/java/com/tns/Runtime.java index <HASH>..<HASH> 100644 --- a/test-app/runtime/src/main/java/com/tns/Runtime.java +++ b/test-app/runtime/src/main/java/com/tns/Runtime.java @@ -284,7 +284,7 @@ public class Runtime { e...
Remove usage of ASCII encoding
NativeScript_android-runtime
train
java
dba2cbd0ee630dc95dffa71309b4ffc6060462b5
diff --git a/lib/middleman/version.rb b/lib/middleman/version.rb index <HASH>..<HASH> 100644 --- a/lib/middleman/version.rb +++ b/lib/middleman/version.rb @@ -4,7 +4,7 @@ require "rubygems" module Middleman # Current Version # @return [String] - VERSION = "3.0.0.alpha.4" + VERSION = "3.0.0.alpha.5" # Pa...
final <I> alpha, hopefully
middleman_middleman
train
rb
c4198b5e751383523bcc1f616a237354efd1b593
diff --git a/src/Response/Api/BaseResponse.php b/src/Response/Api/BaseResponse.php index <HASH>..<HASH> 100644 --- a/src/Response/Api/BaseResponse.php +++ b/src/Response/Api/BaseResponse.php @@ -10,6 +10,7 @@ namespace ZEROSPAM\Framework\SDK\Response\Api; use Carbon\Carbon; use ZEROSPAM\Framework\SDK\Response\Api\H...
perf(Response): Makes response arrayable
zerospam_sdk-framework
train
php
49e5103920e75a149d02c7d487496c8c79154a6c
diff --git a/lib/go/thrift/framed_transport.go b/lib/go/thrift/framed_transport.go index <HASH>..<HASH> 100644 --- a/lib/go/thrift/framed_transport.go +++ b/lib/go/thrift/framed_transport.go @@ -141,11 +141,13 @@ func (p *TFramedTransport) Flush() error { binary.BigEndian.PutUint32(buf, uint32(size)) _, err := p.tr...
THRIFT-<I> Golang TFramedTransport's writeBuffer increases if writes to transport failed Client: Go
limingxinleo_thrift
train
go
8b4036feca85463fe8098b1f6c52af7b425ec13c
diff --git a/lib/devise/controllers/helpers.rb b/lib/devise/controllers/helpers.rb index <HASH>..<HASH> 100644 --- a/lib/devise/controllers/helpers.rb +++ b/lib/devise/controllers/helpers.rb @@ -97,15 +97,17 @@ module Devise end # Render a view for the specified scope. Turned off by default. - def ...
Allow :controller to be given to render_with_scope.
plataformatec_devise
train
rb
465a60b3e722c668c8223f82a59ffd5ce269ab59
diff --git a/lib/lol/client.rb b/lib/lol/client.rb index <HASH>..<HASH> 100644 --- a/lib/lol/client.rb +++ b/lib/lol/client.rb @@ -53,6 +53,10 @@ module Lol @static_request ||= StaticRequest.new(api_key, region, cache_store) end + def lol_status + @lol_status ||= LolStatusRequest.new(region, cache...
Add lol_status_request to client
mikamai_ruby-lol
train
rb,rb
4ea149e502aab0871e156945015dd60d1810e33e
diff --git a/src/Commands/ShowCommand.php b/src/Commands/ShowCommand.php index <HASH>..<HASH> 100644 --- a/src/Commands/ShowCommand.php +++ b/src/Commands/ShowCommand.php @@ -103,13 +103,20 @@ class ShowCommand extends Command } } - // Now that we collected all values that matches the key...
insure console table presents lines in correct order
themsaid_laravel-langman
train
php
48c64d48f2e788b2eaf9ae1c4e09b22c0a61cac7
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ classifiers = ['Development Status :: 3 - Alpha', 'Operating System :: OS Independent'] required = ['numpy>=1.7.1', 'scipy>=0.12.0', 'matplotlib>=1.2.1', - 'Theano>=0.6.1dev'] + ...
Updated Theano dependency to <I>rc5.
pymc-devs_pymc
train
py
626d54a812e33d9fb43bd3caec8d1296733f6afc
diff --git a/lib/jekyll/converters/markdown.rb b/lib/jekyll/converters/markdown.rb index <HASH>..<HASH> 100644 --- a/lib/jekyll/converters/markdown.rb +++ b/lib/jekyll/converters/markdown.rb @@ -20,7 +20,7 @@ module Jekyll else $stderr.puts "Invalid Markdown processor: #{@config['markdown']}" ...
New is implied by `raise`, 2nd is the message.
jekyll_jekyll
train
rb
33a841de4c6f7de6347b17574dc16d2a87d844da
diff --git a/src/Html5FileUploadViewBridge.js b/src/Html5FileUploadViewBridge.js index <HASH>..<HASH> 100644 --- a/src/Html5FileUploadViewBridge.js +++ b/src/Html5FileUploadViewBridge.js @@ -1,8 +1,8 @@ window.rhubarb.vb.create("Html5FileUploadViewBridge", function(parent){ return { - onReady: function (...
Fix to support reRender of hosting parent
RhubarbPHP_Module.Leaf.Html5Upload
train
js
8c3fadf15ec183e5ce8c63739850d543617e4357
diff --git a/tests/integration/states/file.py b/tests/integration/states/file.py index <HASH>..<HASH> 100644 --- a/tests/integration/states/file.py +++ b/tests/integration/states/file.py @@ -413,7 +413,7 @@ class FileTest(integration.ModuleCase): fp.write(src) ret = self.run_state('file.patch', ...
Fix python <I> compat issue in tests
saltstack_salt
train
py
1edd53f1167c889c604647861c455879afb37069
diff --git a/bcbio/pipeline/rnaseq.py b/bcbio/pipeline/rnaseq.py index <HASH>..<HASH> 100644 --- a/bcbio/pipeline/rnaseq.py +++ b/bcbio/pipeline/rnaseq.py @@ -49,9 +49,10 @@ def quantitate_expression_noparallel(samples, run_parallel): """ run transcript quantitation for algorithms that don't run in parallel ...
Look up expression_caller in the dictionary properly.
bcbio_bcbio-nextgen
train
py
c3f74f3b525e7186916ce897ad41b22f56f434cd
diff --git a/lib/page/format-properties/format-properties.unit.spec.js b/lib/page/format-properties/format-properties.unit.spec.js index <HASH>..<HASH> 100644 --- a/lib/page/format-properties/format-properties.unit.spec.js +++ b/lib/page/format-properties/format-properties.unit.spec.js @@ -11,9 +11,6 @@ const formatPro...
Remove unnecessary methods from mocked userData object passed to formatProperties tests
ministryofjustice_fb-runner-node
train
js
e386a5b09fd14a1f125face981fa426803b8a96d
diff --git a/openquake/engine/engine.py b/openquake/engine/engine.py index <HASH>..<HASH> 100644 --- a/openquake/engine/engine.py +++ b/openquake/engine/engine.py @@ -146,6 +146,8 @@ def expose_outputs(dstore, owner=getpass.getuser(), status='complete'): if oq.conditional_loss_poes: # expose loss_maps outputs ...
Do not export sourcegroups if there is only one of them [skip hazardlib][demos] Former-commit-id: e<I>eeeb7fabd<I>c<I>bb<I>e<I>
gem_oq-engine
train
py
86ad5c67d247d976bf7c3b04e9fadcf33d8df4f3
diff --git a/tasks/ant_sfdc.js b/tasks/ant_sfdc.js index <HASH>..<HASH> 100644 --- a/tasks/ant_sfdc.js +++ b/tasks/ant_sfdc.js @@ -85,11 +85,10 @@ module.exports = function(grunt) { args.push(task); grunt.log.debug('ANT CMD: ant ' + args.join(' ')); grunt.log.writeln('Starting ANT ' + task + '...'); - ...
Log ant output to grunt as it's generated Log ant's stdout and stderr output to grunt as it's generated. This allows long deploys to proceed on Travis CI, which kills builds with no output for <I> minutes.
kevinohara80_grunt-ant-sfdc
train
js
3af5bf882488dc13bc4466a7ca099fdd496dc3bb
diff --git a/faq-bundle/contao/dca/tl_faq_category.php b/faq-bundle/contao/dca/tl_faq_category.php index <HASH>..<HASH> 100644 --- a/faq-bundle/contao/dca/tl_faq_category.php +++ b/faq-bundle/contao/dca/tl_faq_category.php @@ -68,16 +68,14 @@ $GLOBALS['TL_DCA']['tl_faq_category'] = array ( 'label' ...
[Faq] `[Alt] + [Shift] + click` elements to edit their header data
contao_contao
train
php
9c9afbc00bc88bee4f4a578a0dd626476ee49f56
diff --git a/landsat/utils.py b/landsat/utils.py index <HASH>..<HASH> 100644 --- a/landsat/utils.py +++ b/landsat/utils.py @@ -149,7 +149,11 @@ def convert_to_integer_list(value): """ convert a comma separate string to a list where all values are integers """ if value and isinstance(value, str): - ne...
handle comma for double digit bands
developmentseed_landsat-util
train
py
734960eacf5aa6202301c800f42108740f8490a5
diff --git a/paypal/pro/forms.py b/paypal/pro/forms.py index <HASH>..<HASH> 100644 --- a/paypal/pro/forms.py +++ b/paypal/pro/forms.py @@ -12,13 +12,13 @@ from paypal.utils import warn_untested class PaymentForm(forms.Form): """Form used to process direct payments.""" - firstname = forms.CharField(255, label...
Fixed a Django <I> incompatiblity
spookylukey_django-paypal
train
py
5a3f220a16433d8120ec38df7e3ad42737d4e6be
diff --git a/app/lib/ServerNodes.java b/app/lib/ServerNodes.java index <HASH>..<HASH> 100644 --- a/app/lib/ServerNodes.java +++ b/app/lib/ServerNodes.java @@ -44,7 +44,7 @@ public class ServerNodes { configuredNodes.put(configuredNode, configuredNode); } - log.info("Creating ServerNodes w...
lower log level to not scare users :)
Graylog2_graylog2-server
train
java
47c7fdbc2eaf669d89a14b10b4ee81044e90f95b
diff --git a/lib/hemp/version.rb b/lib/hemp/version.rb index <HASH>..<HASH> 100644 --- a/lib/hemp/version.rb +++ b/lib/hemp/version.rb @@ -1,3 +1,3 @@ module Hemp - VERSION = "0.1.0" + VERSION = "1.0.0".freeze end
Changed version information and pushed to Rubygems
0duaht_hemp-web-framework
train
rb
7f849e409fedd04439e8dadfda81fb9c1701c573
diff --git a/base/src/main/java/uk/ac/ebi/atlas/utils/ColourGradient.java b/base/src/main/java/uk/ac/ebi/atlas/utils/ColourGradient.java index <HASH>..<HASH> 100644 --- a/base/src/main/java/uk/ac/ebi/atlas/utils/ColourGradient.java +++ b/base/src/main/java/uk/ac/ebi/atlas/utils/ColourGradient.java @@ -7,7 +7,9 @@ impor...
Fix checking if value is within min and max
ebi-gene-expression-group_atlas
train
java
acaa2b131ce7557438a522daf19dd713038125d4
diff --git a/lib/ProMotion/classes/Screen.rb b/lib/ProMotion/classes/Screen.rb index <HASH>..<HASH> 100644 --- a/lib/ProMotion/classes/Screen.rb +++ b/lib/ProMotion/classes/Screen.rb @@ -11,6 +11,13 @@ module ProMotion def view return self.view_controller.view end + + def set_attributes(element, arg...
Added a little helper for setting view element properties easily (set_attributes)
infinitered_ProMotion
train
rb
cb89fea087704bd7cbde2d64e2e21426af401be4
diff --git a/nmea.js b/nmea.js index <HASH>..<HASH> 100644 --- a/nmea.js +++ b/nmea.js @@ -91,7 +91,7 @@ exports.parsers = { // $GPGSV,3,1,12, 05,58,322,36, 02,55,032,, 26,50,173,, 04,31,085, var numRecords = (fields.length - 4) / 4, sats = []; - for (var i=1; i < numRecords; i++) ...
Catch the first satellite id in GSV
jamesp_node-nmea
train
js
2e99e65abb5fa0a2c2f51767dbb5d5c0fba65edd
diff --git a/src/LearnositySdk/Utils/Uuid.php b/src/LearnositySdk/Utils/Uuid.php index <HASH>..<HASH> 100644 --- a/src/LearnositySdk/Utils/Uuid.php +++ b/src/LearnositySdk/Utils/Uuid.php @@ -2,6 +2,7 @@ namespace LearnositySdk\Utils; +// Loads PHP5 polyfill for random_bytes(). See self::uuidv4() declaration for mo...
Fixed issue where uuidv4() wasn't being called
Learnosity_learnosity-sdk-php
train
php
e78942332ca6d17bf186e84e600e11ca0068a112
diff --git a/lib/geocoder/lookups/google.rb b/lib/geocoder/lookups/google.rb index <HASH>..<HASH> 100644 --- a/lib/geocoder/lookups/google.rb +++ b/lib/geocoder/lookups/google.rb @@ -40,6 +40,12 @@ module Geocoder::Lookup unless (bounds = query.options[:bounds]).nil? params[:bounds] = bounds.map{ |point...
pass region and components to google geocode query url
alexreisner_geocoder
train
rb
74c26480fcbfa5620a9a9f195bd14d3d257ee968
diff --git a/src/support/forge/api/Import.php b/src/support/forge/api/Import.php index <HASH>..<HASH> 100644 --- a/src/support/forge/api/Import.php +++ b/src/support/forge/api/Import.php @@ -498,7 +498,7 @@ class Import extract($item); $row = []; $row[] = $apiName . "(...
[doc] Add / before enpoints
sudiptochoudhury_php-api-client-forge
train
php
bb4282b09c4a07b7c88177e656968f94228f5e40
diff --git a/napalm_logs/listener_proc.py b/napalm_logs/listener_proc.py index <HASH>..<HASH> 100644 --- a/napalm_logs/listener_proc.py +++ b/napalm_logs/listener_proc.py @@ -52,6 +52,8 @@ class NapalmLogsListenerProc(NapalmLogsProc): Setup the transport. ''' listener_class = get_listener(sel...
Fix #<I>: Use the most specific address and port options for the listener
napalm-automation_napalm-logs
train
py
a80cd25e8eb7f8b5d89af26cdcd62a5bbe44d65c
diff --git a/airflow/providers/amazon/aws/hooks/s3.py b/airflow/providers/amazon/aws/hooks/s3.py index <HASH>..<HASH> 100644 --- a/airflow/providers/amazon/aws/hooks/s3.py +++ b/airflow/providers/amazon/aws/hooks/s3.py @@ -514,6 +514,7 @@ class S3Hook(AwsBaseHook): bytes_data = string_data.encode(encoding) ...
Close/Flush byte stream in s3 hook load_string and load_bytes (#<I>)
apache_airflow
train
py
ca1e2462211e63084d56e0882573048fa80a9b27
diff --git a/state/watcher.go b/state/watcher.go index <HASH>..<HASH> 100644 --- a/state/watcher.go +++ b/state/watcher.go @@ -1703,7 +1703,7 @@ func (w *machineInterfacesWatcher) Changes() <-chan struct{} { return w.out } -// initial retrieves the currently know interfaces and stores +// initial retrieves the cur...
Quickly fixed one typo of the last PR. ;)
juju_juju
train
go
2f67f978c77d872a68a9974edbe7ed74b69ad392
diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/settings.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo...
a comma to much - is no more.
pydanny_cookiecutter-django
train
py
e7e7553902458cb65f533918225d780d98f0d04a
diff --git a/cobra/core/model.py b/cobra/core/model.py index <HASH>..<HASH> 100644 --- a/cobra/core/model.py +++ b/cobra/core/model.py @@ -644,7 +644,7 @@ class Model(Object): def objective(self, value): if isinstance(value, sympy.Basic): value = self.solver.interface.Objective(value, sloppy=...
Fix instance checking for Objective (#<I>)
opencobra_cobrapy
train
py,py
b608a570b35f54ba0cc922b46632a4359adc0f1b
diff --git a/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.js b/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.js index <HASH>..<HASH> 100644 --- a/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.js +++ b/lib/ReactViews/Map/Panels/SharePanel/BuildShareLink.js @@ -199,7 +199,7 @@ function addViewSettings(...
Fix bug on CatalogGroups without ID Pre-mobx working around model behaviour in ui instead of in model
TerriaJS_terriajs
train
js
a6c775764300139a6899d06e926e1ac6a21e1a00
diff --git a/packages/ember-extension-support/lib/data_adapter.js b/packages/ember-extension-support/lib/data_adapter.js index <HASH>..<HASH> 100644 --- a/packages/ember-extension-support/lib/data_adapter.js +++ b/packages/ember-extension-support/lib/data_adapter.js @@ -302,9 +302,7 @@ export default EmberObject.extend...
Bind the watchModelTypes's release function to `this` so it correctly removes the array observers
emberjs_ember.js
train
js
e8f54de83736a4b78760309c6bcd1405690c0d66
diff --git a/spec/controllers/deal_redemptions/admin/redemptions_controller_spec.rb b/spec/controllers/deal_redemptions/admin/redemptions_controller_spec.rb index <HASH>..<HASH> 100644 --- a/spec/controllers/deal_redemptions/admin/redemptions_controller_spec.rb +++ b/spec/controllers/deal_redemptions/admin/redemptions_...
test to make sure redemption is assigned a instance variable in the controller
iamcutler_deal-redemptions
train
rb
a534e9b907d44b2b79eaa4e2aa6a9351436f64ee
diff --git a/lib/ffi-gobject/value.rb b/lib/ffi-gobject/value.rb index <HASH>..<HASH> 100644 --- a/lib/ffi-gobject/value.rb +++ b/lib/ffi-gobject/value.rb @@ -18,11 +18,13 @@ module GObject def self.make_finalizer(struct, gtype) proc do ptr = struct.to_ptr - ptr.autorelease = false - ...
Do not free GObject::Value that has been copied
mvz_gir_ffi
train
rb
573b487c2bb23f0d94f0ba8de09a71e95ea8ddd5
diff --git a/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java b/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java +++ b/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java @@ -131,7 +131,8 @@ public class WalletAppKit...
WAK: add note in javadoc about missing feature.
bitcoinj_bitcoinj
train
java
088586cedabe737866bf5beda0fddf5799138265
diff --git a/biomart/dataset.py b/biomart/dataset.py index <HASH>..<HASH> 100644 --- a/biomart/dataset.py +++ b/biomart/dataset.py @@ -110,7 +110,8 @@ class BiomartDataset(object): dataset_filter = self.filters.get(filter_name, None) if not dataset_filter: - self.show_filters(...
be less verbose if not asked
sebriois_biomart
train
py
8079e62ea9c427153be19080493944a2b8a760f9
diff --git a/templates/api/services/protocols/bearer.js b/templates/api/services/protocols/bearer.js index <HASH>..<HASH> 100644 --- a/templates/api/services/protocols/bearer.js +++ b/templates/api/services/protocols/bearer.js @@ -13,7 +13,7 @@ exports.authorize = function(token, done) { Passport.findOne({ accessTok...
In sails <I> findById returns and array In sails <I> `findById` returns and array. One might expect to be able to access the user model by `req.user` instead of `req.user[0]`
kasperisager_sails-generate-auth
train
js
586342447bd5d912a5582a7e998905566397fd0d
diff --git a/lib/select.js b/lib/select.js index <HASH>..<HASH> 100644 --- a/lib/select.js +++ b/lib/select.js @@ -85,20 +85,15 @@ var selectors = { op = operators[op]; return function(el) { var attr; - switch (key) { - case 'for': - attr = el.htmlFor; - break; - ca...
Replaced unoptimized switched by if/else
fgnass_domino
train
js
7313b818a1f823e25ac000a56869631eeedc62ee
diff --git a/lib/omnibus/cli/base.rb b/lib/omnibus/cli/base.rb index <HASH>..<HASH> 100644 --- a/lib/omnibus/cli/base.rb +++ b/lib/omnibus/cli/base.rb @@ -94,7 +94,7 @@ module Omnibus aliases: '-l', type: :string, enum: %w(fatal error warn info debug), - lazy_default: 'warn' + lazy_defaul...
Use :info as the default log level
chef_omnibus
train
rb
5bfa35ab81e09820c191d20fd8cda44bc64068c7
diff --git a/client/servers/manager.go b/client/servers/manager.go index <HASH>..<HASH> 100644 --- a/client/servers/manager.go +++ b/client/servers/manager.go @@ -204,7 +204,7 @@ func (m *Manager) SetServers(servers Servers) bool { // Determine if they are equal equal := m.serversAreEqual(servers) - // If server ...
fix typo and add one more test scenario
hashicorp_nomad
train
go,go
6f919e4229c8a3445f2f8f6aa61416e09e943351
diff --git a/lib/python/vdm/static/js/vdm.ui.js b/lib/python/vdm/static/js/vdm.ui.js index <HASH>..<HASH> 100755 --- a/lib/python/vdm/static/js/vdm.ui.js +++ b/lib/python/vdm/static/js/vdm.ui.js @@ -1796,10 +1796,10 @@ var loadPage = function() { id: VdmUI.getCurrentDbCookie() } ...
VDM-<I>: fixed issue with enable/disable partition detection
VoltDB_voltdb
train
js
3e324ff220e74a82fd5e801a1c6e3b35dac119a4
diff --git a/tutorials/ot-info-for-taxon-name.py b/tutorials/ot-info-for-taxon-name.py index <HASH>..<HASH> 100755 --- a/tutorials/ot-info-for-taxon-name.py +++ b/tutorials/ot-info-for-taxon-name.py @@ -1,6 +1,7 @@ #!/usr/bin/env python -'''Simple command-line tool that wraps the taxonomic name matching service - w...
corrected doc string to reflect current behavior
OpenTreeOfLife_peyotl
train
py
267785621bc2f26d4c76f7be2ae9e7b16cfe658d
diff --git a/qiime_tools/util.py b/qiime_tools/util.py index <HASH>..<HASH> 100644 --- a/qiime_tools/util.py +++ b/qiime_tools/util.py @@ -124,7 +124,7 @@ def parse_taxonomy_table(idtaxFNH): idtax = OrderedDict() with file_handle(idtaxFNH) as idtxF: for line in idtxF: - ID, tax = line.stri...
Restores accidental reversion of commit <I>c<I> introduced by commit <I>d6a<I>.
smdabdoub_phylotoast
train
py
0a1b2b4f78454089f8604e880e45541ef013661f
diff --git a/lib/fixture_builder.rb b/lib/fixture_builder.rb index <HASH>..<HASH> 100755 --- a/lib/fixture_builder.rb +++ b/lib/fixture_builder.rb @@ -14,6 +14,8 @@ module FixtureBuilder class Configuration attr_accessor :select_sql, :delete_sql, :skip_tables, :files_to_check, :record_name_fields, :fixture_buil...
When using database utilities not covered by schema.rb someone may choose to use sql. FixtureBuilder crapped out because it was hard coded to check for schema.rb. This patch adds other default schema files and only appends them to the check list if they exist.
rdy_fixture_builder
train
rb
b86e9c3e8b137db4713d3a4bc34fff21731346fe
diff --git a/internal/cli/ui.go b/internal/cli/ui.go index <HASH>..<HASH> 100644 --- a/internal/cli/ui.go +++ b/internal/cli/ui.go @@ -28,9 +28,10 @@ func (c *UICommand) Run(args []string) int { return 1 } - if c.basis.Local() { - c.basis.UI().Output("Vagrant must be configured in server mode to access the UI",...
Temporarily disable local check in client UI setup
hashicorp_vagrant
train
go
8f795c83f07377e8bb4426c0f65802a627dc87f9
diff --git a/controller/frontend/src/Controller/Frontend/Product/Standard.php b/controller/frontend/src/Controller/Frontend/Product/Standard.php index <HASH>..<HASH> 100644 --- a/controller/frontend/src/Controller/Frontend/Product/Standard.php +++ b/controller/frontend/src/Controller/Frontend/Product/Standard.php @@ -3...
Aggregate only products from active categories
aimeos_ai-controller-frontend
train
php
b96ae69ed5139084e62cca0f5644d0e9eb972146
diff --git a/cf/api/strategy/domains.go b/cf/api/strategy/domains.go index <HASH>..<HASH> 100644 --- a/cf/api/strategy/domains.go +++ b/cf/api/strategy/domains.go @@ -51,10 +51,23 @@ func (s domainsEndpointStrategy) DeleteSharedDomainURL(guid string) string { return buildURL(v2("domains", guid), params{recursive: tru...
Stop using deprecated endpoints for domains. [Fixes #<I>]
cloudfoundry_cli
train
go
ed3b3ee5ca452a5f68e2b0d0358014160aa59947
diff --git a/bencode/misc.go b/bencode/misc.go index <HASH>..<HASH> 100644 --- a/bencode/misc.go +++ b/bencode/misc.go @@ -6,16 +6,10 @@ import ( ) // Wow Go is retarded. -var marshalerType = reflect.TypeOf(func() *Marshaler { - var m Marshaler - return &m -}()).Elem() - -// Wow Go is retarded. -var unmarshalerType...
bencode: simplify getting `marshalerType` and `unmarshalerType` (#<I>)
anacrolix_torrent
train
go
4b076cdcb82a10541430545e331668818a23a17a
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -413,7 +413,8 @@ class AESFuncs(object): pub_path = os.path.join(self.opts['pki_dir'], 'minions', id_) with open(pub_path, 'r') as fp_: minion_pub = fp_.read() - tm...
clean up tempfile commit in master.py
saltstack_salt
train
py
94eb2bbd947b288916adc4ae9764d66a340d55f9
diff --git a/allauth/app_settings.py b/allauth/app_settings.py index <HASH>..<HASH> 100644 --- a/allauth/app_settings.py +++ b/allauth/app_settings.py @@ -11,21 +11,24 @@ def check_context_processors(): ctx_present = False if django.VERSION < (1, 8,): + setting = "settings.TEMPLATE_CONTEXT_PROCESSORS...
Fixed up outdated error message in context processors check. Changed the URL to be more relevant and print the correct setting based on the django version.
pennersr_django-allauth
train
py
2bd36e3108b02e16389b70d730e5a60096a11c48
diff --git a/ayrton/__init__.py b/ayrton/__init__.py index <HASH>..<HASH> 100755 --- a/ayrton/__init__.py +++ b/ayrton/__init__.py @@ -47,6 +47,8 @@ class CommandWrapper (sh.Command): # if _out or _err are not provided, connect them to the original ones if not '_out' in kwargs: kwargs['_o...
+ stderr to stderr by default too.
StyXman_ayrton
train
py
5bf9d8d8d9dc11938b4657eac6b2e4a45cd60cb2
diff --git a/server.js b/server.js index <HASH>..<HASH> 100644 --- a/server.js +++ b/server.js @@ -48,10 +48,6 @@ app.use(function(req, res, next){ next(); } }); -<<<<<<< HEAD - -======= ->>>>>>> c69e2987859e0cdf6e22027ff8118c9a955f34c0 app.all('*', function(req, res, next) { res.header('Access-Control-All...
[CHORE] Cleaning merge commit garbage
ripple_ripple-rest
train
js
ae465d86e7c4d9bc68ca4484c75803b05cf550fc
diff --git a/src/Behavior/EAV/Entity.php b/src/Behavior/EAV/Entity.php index <HASH>..<HASH> 100644 --- a/src/Behavior/EAV/Entity.php +++ b/src/Behavior/EAV/Entity.php @@ -14,7 +14,6 @@ namespace Indigo\Doctrine\Behavior\EAV; use Doctrine\Common\Collections\Selectable; use Doctrine\Common\Collections\Criteria; use Do...
Removes id from EAV entity
indigophp_doctrine-extensions
train
php
84f250581074b75a1e507c48ed28160556ddcd86
diff --git a/lib/poise/helpers/resource_subclass.rb b/lib/poise/helpers/resource_subclass.rb index <HASH>..<HASH> 100644 --- a/lib/poise/helpers/resource_subclass.rb +++ b/lib/poise/helpers/resource_subclass.rb @@ -57,6 +57,7 @@ module Poise else subclass_resource_equivalents << superclass_resou...
Uniq the equivalents in case this is called more than once.
poise_poise
train
rb
e9e22d1ff4ffc69d72d16a3a823353bad02bdce8
diff --git a/src/main/java/com/treasure_data/client/HttpConnectionImpl.java b/src/main/java/com/treasure_data/client/HttpConnectionImpl.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/treasure_data/client/HttpConnectionImpl.java +++ b/src/main/java/com/treasure_data/client/HttpConnectionImpl.java @@ -73,6 +73,...
changed HttpConnectionImpl class -- fixed bug: 'props' field in the class is never accessed
treasure-data_td-client-java
train
java
205e4690a3b36c4f5782f97e5eda52b563e7b97a
diff --git a/pyqode/core/managers/file.py b/pyqode/core/managers/file.py index <HASH>..<HASH> 100644 --- a/pyqode/core/managers/file.py +++ b/pyqode/core/managers/file.py @@ -167,7 +167,7 @@ class FileManager(Manager): content, self.get_mimetype(path), self.encoding) self.editor.setDocumen...
Do not use a timer for jumping to the cached cursor position. The difference is that the cursor won't be centered (if centerOnScroll was true). This fix a bug with goto definition in other files in pyqode.python
pyQode_pyqode.core
train
py,py
ed95c05c14381e64404f1135763fcc9b65317b96
diff --git a/lib/Doctrine/DBAL/Migrations/Finder/RecursiveRegexFinder.php b/lib/Doctrine/DBAL/Migrations/Finder/RecursiveRegexFinder.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/DBAL/Migrations/Finder/RecursiveRegexFinder.php +++ b/lib/Doctrine/DBAL/Migrations/Finder/RecursiveRegexFinder.php @@ -71,6 +71,8 @@ fin...
RecursiveDirectoryIterator don't obtain some order of the file list. RecursiveDirectoryIterator shouldn't return a sorted list and haven't to do it be direct. But migration script logic requires sorted list of the Version*.php files for correct working.
doctrine_migrations
train
php
0903ea3dd8192e5f7eeb6f6a7011ec1d8ca4d487
diff --git a/docker/utils/utils.py b/docker/utils/utils.py index <HASH>..<HASH> 100644 --- a/docker/utils/utils.py +++ b/docker/utils/utils.py @@ -57,9 +57,10 @@ def compare_version(v1, v2): def ping(url): try: res = requests.get(url) - return res.status >= 400 except Exception: retu...
replace status with status_code as defined by requests API Move this statement in `else` clause to make sure the try except block doesn't catch coding errors.
docker_docker-py
train
py
47c322e1288ec9a6bfe78af1393f017ccfbe5e07
diff --git a/src/lity.js b/src/lity.js index <HASH>..<HASH> 100644 --- a/src/lity.js +++ b/src/lity.js @@ -269,6 +269,8 @@ } function init(handler, content, options, el) { + _ready = $.Deferred(); + _instanceCount++; globalToggle(); @@ -342,7 +344,6 @@ ...
Fix weird lightbox state when hitting enter triggering click on still focused anchor element
jsor_lity
train
js
57f200ab356c4b019a488ff8dc041e90d2a28cd5
diff --git a/spec/rackstash/logger_spec.rb b/spec/rackstash/logger_spec.rb index <HASH>..<HASH> 100644 --- a/spec/rackstash/logger_spec.rb +++ b/spec/rackstash/logger_spec.rb @@ -203,8 +203,8 @@ describe Rackstash::Logger do end it 'implements the same method signature as the Buffer' do - expect(Rackst...
Check that Logger#tag implements the same interface as Buffer#tag
meineerde_rackstash
train
rb
00780d4f592d0e3b3d771c056dd5ef2d8be420f8
diff --git a/models/DEV_DB.js b/models/DEV_DB.js index <HASH>..<HASH> 100644 --- a/models/DEV_DB.js +++ b/models/DEV_DB.js @@ -75,7 +75,7 @@ jsh.App[modelid] = new (function(){ }; this.getFormElement = function(){ - return jsh.$root('.xformcontainer.xelem'+model.class); + return jsh.$root('.xformcontainer...
JSH-<I> Refactoring js
apHarmony_jsharmony-factory
train
js
f5accb5a2175f3ba095a40c3587fc5b9604f7756
diff --git a/wonambi/ioeeg/bci2000.py b/wonambi/ioeeg/bci2000.py index <HASH>..<HASH> 100644 --- a/wonambi/ioeeg/bci2000.py +++ b/wonambi/ioeeg/bci2000.py @@ -238,7 +238,7 @@ def _read_header(filename): hdr[section] = {} # defaultdict(dict) continue - if row == '': + if row...
Reading header elements without comments is now possible. Unparsable elements do not break the programm.
wonambi-python_wonambi
train
py
efe96a6a1b3d87a30e2b8bbe98925fff18a374ed
diff --git a/pmxbot/dictlib.py b/pmxbot/dictlib.py index <HASH>..<HASH> 100644 --- a/pmxbot/dictlib.py +++ b/pmxbot/dictlib.py @@ -8,5 +8,5 @@ class ConfigDict(ItemsAsAttributes, dict): return cls(yaml.load(f)) def to_yaml(self, filename): - with open(filename, 'wb') as f: + with open(filename, 'w') as f: ...
Can't open in binary mode anymore (Python 3 requires writing yaml as text)
yougov_pmxbot
train
py
21d389cceaace3272dede54aa8f92f2429d92e00
diff --git a/test/unit/selector.js b/test/unit/selector.js index <HASH>..<HASH> 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -1,7 +1,7 @@ module("selector"); test("element", function() { - expect(19); + expect(18); QUnit.reset(); ok( jQuery("*").size() >= 30, "Select all" ); @@ -27,7 +27,...
Testing *, * was unnecessary - especially in slower browsers.
jquery_jquery
train
js