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
7a6f08e3ff8692ebe079e059de19164b478c54c6
diff --git a/src/bindings/radioBinding.js b/src/bindings/radioBinding.js index <HASH>..<HASH> 100644 --- a/src/bindings/radioBinding.js +++ b/src/bindings/radioBinding.js @@ -14,7 +14,10 @@ ko.bindingHandlers.radio = { value = valueAccessor(), newValue = radio.val(); - ...
Fixed changing of selected radio button, when it is disabled (#<I>)
faulknercs_Knockstrap
train
js
9acb68901529a0158e37753c931ff00ccfaaaa7a
diff --git a/test/test_consumer.py b/test/test_consumer.py index <HASH>..<HASH> 100644 --- a/test/test_consumer.py +++ b/test/test_consumer.py @@ -15,10 +15,6 @@ class TestKafkaConsumer(unittest.TestCase): with self.assertRaises(AssertionError): SimpleConsumer(MagicMock(), 'group', 'topic', partit...
bootstrap_servers no longer required in KafkaConsumer (localhost default)
dpkp_kafka-python
train
py
3f0e7c7f22eb3825180d07a9af3706d044aa282a
diff --git a/scripts/constants.py b/scripts/constants.py index <HASH>..<HASH> 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -15,16 +15,16 @@ import sys # Kubernetes branch to get the OpenAPI spec from. -KUBERNETES_BRANCH = "release-1.15" +KUBERNETES_BRANCH = "release-1.16" # client version for ...
Update constants - KUBERNETES_BRANCH to "release-<I>" - CLIENT_VERSION to "<I>-snapshot" - DEVELOPMENT_STATUS to "3 - Alpha"
kubernetes-client_python
train
py
abaad3b218f18c813f961cc3a6871d7e53fa0bac
diff --git a/watcher.go b/watcher.go index <HASH>..<HASH> 100644 --- a/watcher.go +++ b/watcher.go @@ -58,16 +58,14 @@ func (w *Watcher) Watch() error { } for { + if w.config.Once && w.renderedAll(views) { + // If we are in "once" mode and all the templates have been rendered, + // exit gracefully + return...
Move once check outside of the channel case
hashicorp_consul-template
train
go
aac251aa7b711916c7996a27e377b865c440283d
diff --git a/live.js b/live.js index <HASH>..<HASH> 100644 --- a/live.js +++ b/live.js @@ -74,7 +74,7 @@ function teardown(moduleName, needsImport, listeners) { } // If there's an interested listener add it to the needsImport. - if(listeners.reloads[moduleName]) { + if(listeners.reloads[moduleName] || liste...
Always observe import when there are * listeners
stealjs_live-reload
train
js
5faa85a8ab2d546f7a7cfcad343e6f8fefe1dd50
diff --git a/modeshape-jcr/src/main/java/org/modeshape/jcr/index/local/LocalIndexProvider.java b/modeshape-jcr/src/main/java/org/modeshape/jcr/index/local/LocalIndexProvider.java index <HASH>..<HASH> 100644 --- a/modeshape-jcr/src/main/java/org/modeshape/jcr/index/local/LocalIndexProvider.java +++ b/modeshape-jcr/src/m...
MODE-<I> Prevents the LocalIndexProvider from committing an already closed MapDB instance
ModeShape_modeshape
train
java
cb116c2031c98da7e362645d46814ae4cc5e96be
diff --git a/lib/itamae/resource/git.rb b/lib/itamae/resource/git.rb index <HASH>..<HASH> 100644 --- a/lib/itamae/resource/git.rb +++ b/lib/itamae/resource/git.rb @@ -88,7 +88,7 @@ module Itamae return result.stdout.strip if result.exit_status == 0 fetch_origin! - run_command_in_repo("git rev...
Restore overlooked `stdout` call
itamae-kitchen_itamae
train
rb
a5cdf72c84e595430ea976d5b425d5ba3dd321c4
diff --git a/lib/gulp-notify-growl.js b/lib/gulp-notify-growl.js index <HASH>..<HASH> 100644 --- a/lib/gulp-notify-growl.js +++ b/lib/gulp-notify-growl.js @@ -12,15 +12,15 @@ module.exports = function(applicationOptions) { icon: fs.readFileSync(__dirname + '/gulp.png') }, applicationOptions || {}); - var gro...
Expose GrowlApplication instance (useful for testing)
yannickcr_gulp-notify-growl
train
js
c8de2e2d0af666b1abe8e7faf3d100da347a152f
diff --git a/lib/hutch/cli.rb b/lib/hutch/cli.rb index <HASH>..<HASH> 100644 --- a/lib/hutch/cli.rb +++ b/lib/hutch/cli.rb @@ -12,6 +12,8 @@ module Hutch def run(argv = ARGV) parse_options(argv) + Process.daemon(true) if Hutch::Config.daemonise + Hutch.logger.info "hutch booted with pid #{Proc...
Allow hutch to be daemonised at startup
gocardless_hutch
train
rb,rb
e87536d7c34234da7b14532c7aeffa43bb1d99aa
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -86,8 +86,8 @@ function Ssdp() { udpServer.addMembership(BROADCAST_ADDR, ip.address()); }); - this.close = function() { - udpServer.close(); + this.close = function(callback) { + udpServer.close(callback); ...
Implement callback to UDP server close method
bazwilliams_node-ssdp
train
js
e898b41f260d98b2c3b6ab96f101dbb8404d8f42
diff --git a/printThis.js b/printThis.js index <HASH>..<HASH> 100644 --- a/printThis.js +++ b/printThis.js @@ -130,9 +130,10 @@ $radio.each(function() { var $this = $(this), $name = $(this).attr('name'), - $checked = $...
fix for radio button value setting Attempted to combine input loops (input, checkbox, radio) but there were inherit issues in setting radio input values.
jasonday_printThis
train
js
1ccd81326482ef5083ae48726e32a6e15528ca53
diff --git a/lib/classes/task/delete_incomplete_users_task.php b/lib/classes/task/delete_incomplete_users_task.php index <HASH>..<HASH> 100644 --- a/lib/classes/task/delete_incomplete_users_task.php +++ b/lib/classes/task/delete_incomplete_users_task.php @@ -59,6 +59,10 @@ class delete_incomplete_users_task extends sch...
MDL-<I> users: Do not delete Mr. and Mrs. Whitespace accounts Due to imperfect validation of the user registration and profile forms, we allowed for firstname and lastname be just a whitespace. On MySQL, such a whitespace is not significant for VARCHAR comparison so these otherwise valid accounts could be silently del...
moodle_moodle
train
php
aac827c743c4a4d63c0d401f8a817f6ae5a7fc1e
diff --git a/openquake/commonlib/datastore.py b/openquake/commonlib/datastore.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/datastore.py +++ b/openquake/commonlib/datastore.py @@ -106,6 +106,19 @@ def get_last_calc_id(datadir): return calcs[-1] +def read(calc_id, mode='r'): + """ + Read the da...
Added an utility datastore.read
gem_oq-engine
train
py
60ac1c968ccf2cc4326e5c5f6d46eca58f0c910c
diff --git a/common/tasks_code_boxes.py b/common/tasks_code_boxes.py index <HASH>..<HASH> 100644 --- a/common/tasks_code_boxes.py +++ b/common/tasks_code_boxes.py @@ -108,8 +108,7 @@ class FileBox(BasicBox): return False try: - _, ext = os.path.splitext(taskInput[self.get_complete_id(...
Allow compound extensions (.tar.gz, .tar.xz, ...) This fix is not complete, as we should also change frontend/pages/admin_course.py:<I> to generate the filename in the downloaded archive.
UCL-INGI_INGInious
train
py
3f7dfd41d877edd6dbd08f1fd1e2858283ea3f1f
diff --git a/lib/vcoworkflows/workflowtoken.rb b/lib/vcoworkflows/workflowtoken.rb index <HASH>..<HASH> 100644 --- a/lib/vcoworkflows/workflowtoken.rb +++ b/lib/vcoworkflows/workflowtoken.rb @@ -26,14 +26,16 @@ module VcoWorkflows # rubocop:disable CyclomaticComplexity, PerceivedComplexity, MethodLength, LineLengt...
Clean up WorkflowToken#initialize for refactor Bring in line with `Workflow` refactor
activenetwork-automation_vcoworkflows
train
rb
c58e6c129a153ca1a5021e5d7e642d00bf011e20
diff --git a/tests/test_modeling_marian.py b/tests/test_modeling_marian.py index <HASH>..<HASH> 100644 --- a/tests/test_modeling_marian.py +++ b/tests/test_modeling_marian.py @@ -233,7 +233,8 @@ class TestMarian_en_ROMANCE(MarianIntegrationTest): self.tokenizer.prepare_translation_batch([""]) def te...
[marian tests ] pass device to pipeline (#<I>)
huggingface_pytorch-pretrained-BERT
train
py
614e099b537a4ac23d10cdaaef13022260117e4e
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js b/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer-table.js +++ b/bundles/org.eclipse.orion.client.ui/web/ori...
Bug <I> - File client should dispatch "changed" event when files change -- Temporaryily expose the project creation model listener.
eclipse_orion.client
train
js
890d344fa21680e02b1063ae5f785b517b2f7333
diff --git a/Event/PageEvents.php b/Event/PageEvents.php index <HASH>..<HASH> 100644 --- a/Event/PageEvents.php +++ b/Event/PageEvents.php @@ -13,8 +13,8 @@ class PageEvents const POST_CREATE = 'ekyna_cms.page.post_create'; const PRE_UPDATE = 'ekyna_cms.page.pre_update'; - const POST_UPDATE = 'ekyna_cms...
[CmsBundle] Fix page events !
ekyna_CmsBundle
train
php
675b0b502870aea49cf3e2575812344a633bcc1d
diff --git a/python/orca/test/bigdl/orca/learn/ray/mxnet/conftest.py b/python/orca/test/bigdl/orca/learn/ray/mxnet/conftest.py index <HASH>..<HASH> 100644 --- a/python/orca/test/bigdl/orca/learn/ray/mxnet/conftest.py +++ b/python/orca/test/bigdl/orca/learn/ray/mxnet/conftest.py @@ -13,6 +13,7 @@ # See the License for ...
Support RayOnSpark for k8s and add docs (#<I>) * support ray on k8s * add to init orca context * style * minor * minor * ut
intel-analytics_BigDL
train
py,py
69792a45edc50a185c4e18bbcd7b021c9fda9e59
diff --git a/serviced/proxy.go b/serviced/proxy.go index <HASH>..<HASH> 100644 --- a/serviced/proxy.go +++ b/serviced/proxy.go @@ -76,7 +76,7 @@ func (cli *ServicedCli) CmdProxy(args ...string) error { case cmderr := <-serviceExit: if cmderr != nil { client, err := serviced.NewLBClient(proxyOptions.servi...
Updated proxy message to seem less threatening
control-center_serviced
train
go
5eb2611c26c3c8be96a0524b952f7a8e907e8efa
diff --git a/test/moan.spec.js b/test/moan.spec.js index <HASH>..<HASH> 100644 --- a/test/moan.spec.js +++ b/test/moan.spec.js @@ -41,7 +41,30 @@ describe('Moan', () => { }) describe('#config', () => { - // TODO: Complete unit tests + context('when only configuration key is provided', () => { + it('s...
added tests to cover moan#config
neocotic_moan
train
js
4d19d32af380d53e03f3677d770a7dee221e4f88
diff --git a/commons-ip-math/src/main/java/net/ripe/commons/ip/Optional.java b/commons-ip-math/src/main/java/net/ripe/commons/ip/Optional.java index <HASH>..<HASH> 100644 --- a/commons-ip-math/src/main/java/net/ripe/commons/ip/Optional.java +++ b/commons-ip-math/src/main/java/net/ripe/commons/ip/Optional.java @@ -68,6 ...
Add a private constructor to Absent. It's not possible to instantiate Absent outside of Optional any more. It is important because the equals() and hashCode() implementations (the lack of them, that is) relies on the fact that there is only one instance of Absent.
jgonian_commons-ip-math
train
java
8692dc42cd292906ea421b317a3d02df4ef9f5d4
diff --git a/app/controllers/katello/api/v2/host_debs_controller.rb b/app/controllers/katello/api/v2/host_debs_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/katello/api/v2/host_debs_controller.rb +++ b/app/controllers/katello/api/v2/host_debs_controller.rb @@ -29,6 +29,7 @@ module Katello def f...
Fixes #<I> - updates <I> conditions in before action filters
Katello_katello
train
rb,rb
216f25b94f4c120dda1e3a21dbb7af281604f3c6
diff --git a/tickets/views.py b/tickets/views.py index <HASH>..<HASH> 100644 --- a/tickets/views.py +++ b/tickets/views.py @@ -38,7 +38,7 @@ class MyTicketDetailView(DetailView): comment.author = self.request.user comment.ticket = Ticket.objects.get(id=self.kwargs['pk']) comment.save() - ...
change success message strings in views to unicode
byteweaver_django-tickets
train
py
573c8eb5097f7cee843655acdf1616f9945e22e7
diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/FileTypeAnalyzer.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/FileTypeAnalyzer.java index <HASH>..<HASH> 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/analyzer/FileTypeAnalyz...
added a reset() method as part of resolution for issue #<I> Former-commit-id: b<I>e6a<I>ebd1b<I>f9be6f<I>a<I>fcb<I>a
jeremylong_DependencyCheck
train
java
d66495a9330d3f555af89ea20c422c5a4b4dbdff
diff --git a/ok.js b/ok.js index <HASH>..<HASH> 100644 --- a/ok.js +++ b/ok.js @@ -4,6 +4,8 @@ */ (function (factory, root, _, ok) { +/* global define, require, module */ + // amd if (typeof define === 'function' && define.amd) { define('ok', ['underscore'], factory);
Exclude define, require and module from linting
j-_ok
train
js
0353d6836805af7bc72b158c6668c6586a887107
diff --git a/benchmarks/aggregates.py b/benchmarks/aggregates.py index <HASH>..<HASH> 100644 --- a/benchmarks/aggregates.py +++ b/benchmarks/aggregates.py @@ -95,7 +95,7 @@ class GroupByCat1K(Aggregates): super().setup(N) def time_binby_iB_1M(self, N, B): - self.df.groupby(f'i{B}_1k', agg='count'...
bench: fix benchmark, column name typo
vaexio_vaex
train
py
6a3b344d46645c6f8822a7cf211c51ecddc94c73
diff --git a/library/CM/Util.php b/library/CM/Util.php index <HASH>..<HASH> 100644 --- a/library/CM/Util.php +++ b/library/CM/Util.php @@ -74,13 +74,17 @@ class CM_Util { $timeout = (int) $timeout; $curlConnection = curl_init(); - curl_setopt($curlConnection, CURLOPT_URL, $url); curl_setopt($curlConnection,...
t<I>: params also for get, pas params as array
cargomedia_cm
train
php
d1627b92fc341cd9690296d1ec6935fb9dbae532
diff --git a/.adiorc.js b/.adiorc.js index <HASH>..<HASH> 100644 --- a/.adiorc.js +++ b/.adiorc.js @@ -20,7 +20,7 @@ module.exports = { } }, ignore: { - src: ["path", "os", "fs", "util", "events"], + src: ["path", "os", "fs", "util", "events", "crypto"], dependencies: ["@babel/...
chore: ignore "crypto" requires, it's a Node.js built-in
Webiny_webiny-js
train
js
17c6690c4709927aa4b0a705ea2802118aa31bbc
diff --git a/pippo-core/src/main/java/ro/fortsoft/pippo/core/DefaultErrorHandler.java b/pippo-core/src/main/java/ro/fortsoft/pippo/core/DefaultErrorHandler.java index <HASH>..<HASH> 100644 --- a/pippo-core/src/main/java/ro/fortsoft/pippo/core/DefaultErrorHandler.java +++ b/pippo-core/src/main/java/ro/fortsoft/pippo/cor...
Fix another error handler content type bug The text/html content type determined by the accept header for an error/exception during a browser request was being reset to null. This caused an incorrect warning to be logged: no content type specified.
pippo-java_pippo
train
java
2b41da058db88c97f4694361624566615f20017e
diff --git a/persistence/rest/src/main/java/org/infinispan/persistence/rest/upgrade/RestTargetMigrator.java b/persistence/rest/src/main/java/org/infinispan/persistence/rest/upgrade/RestTargetMigrator.java index <HASH>..<HASH> 100644 --- a/persistence/rest/src/main/java/org/infinispan/persistence/rest/upgrade/RestTarget...
ISPN-<I> Don't make the REST target migrator complain about spurious keys injected by other source migrators
infinispan_infinispan
train
java
fde92ec3f77d0a50621ac8c91c476b0bba463b40
diff --git a/lib/chef/knife/cloudformation_create.rb b/lib/chef/knife/cloudformation_create.rb index <HASH>..<HASH> 100644 --- a/lib/chef/knife/cloudformation_create.rb +++ b/lib/chef/knife/cloudformation_create.rb @@ -64,7 +64,11 @@ class Chef ui.fatal "Formation name must be specified!" exit 1 ...
Allow pre-defined template to be used for creation
sparkleformation_sfn
train
rb
0092a5ae4bca1b957ab970b5a70365b9e0c722e6
diff --git a/janitor/actions.py b/janitor/actions.py index <HASH>..<HASH> 100644 --- a/janitor/actions.py +++ b/janitor/actions.py @@ -62,7 +62,7 @@ class BaseAction(object): except ClientError, e: if (e.response['Error']['Code'] == 'DryRunOperation' and e.response['HTTPStatusCode...
ugh.. egg on face, need ci server
cloud-custodian_cloud-custodian
train
py
038b5b85fd6e78b317236277d676e1202080bae4
diff --git a/worker.go b/worker.go index <HASH>..<HASH> 100644 --- a/worker.go +++ b/worker.go @@ -61,6 +61,7 @@ type Worker struct { *Config JobResource *admin.Resource Jobs []*Job + mounted bool } // ConfigureQorResourceBeforeInitialize a method used to config Worker for qor admin @@ -130,6 +131,...
Show warning message when register job after Worker mounted
qor_worker
train
go
258c04338cfac8c67617c5245e319d9aedf9d82d
diff --git a/packages/stylelint-config-heisenberg/index.js b/packages/stylelint-config-heisenberg/index.js index <HASH>..<HASH> 100644 --- a/packages/stylelint-config-heisenberg/index.js +++ b/packages/stylelint-config-heisenberg/index.js @@ -99,6 +99,7 @@ module.exports = { 'media-query-list-comma-newline-after': '...
Remove `no-descending-specificity` rule
DekodeInteraktiv_heisenberg
train
js
818a5064c632be61afe788fe46dcc8272beb72f4
diff --git a/src/Knp/Menu/Silex/KnpMenuServiceProvider.php b/src/Knp/Menu/Silex/KnpMenuServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/Knp/Menu/Silex/KnpMenuServiceProvider.php +++ b/src/Knp/Menu/Silex/KnpMenuServiceProvider.php @@ -80,4 +80,13 @@ class KnpMenuServiceProvider implements ServiceProviderInterfa...
Update master of course, conventions Removed unneeded //TODO:
KnpLabs_KnpMenu
train
php
dd330868e4d1a225d9ab6a99c8b394f1e1a317c7
diff --git a/test/ctx_test.rb b/test/ctx_test.rb index <HASH>..<HASH> 100644 --- a/test/ctx_test.rb +++ b/test/ctx_test.rb @@ -41,6 +41,14 @@ describe GPGME::Ctx do output.seek 0 assert_equal "Hi there", output.read.chomp + + recipients = ctx.decrypt_result.recipients + assert_equal 1,...
tests: Inspect decryption result
ueno_ruby-gpgme
train
rb
e05cfdb00a57cafcd26100735dbd2c8b8af0d0d4
diff --git a/text/text.go b/text/text.go index <HASH>..<HASH> 100644 --- a/text/text.go +++ b/text/text.go @@ -268,7 +268,7 @@ func DrawWithOptions(dst *ebiten.Image, text string, face font.Face, options *eb // This means that if the text consists of one character '.', this dot is rendered at (0, 0). // // This is v...
text: update comments about `BoundsString` The way in which space characters are treated is exactly same as golang.org/x/image/font's `BoundsString`. Updates #<I>
hajimehoshi_ebiten
train
go
993ba30648a407e8dd7e7722d8cbfc8d2d8b8922
diff --git a/tests/config.php b/tests/config.php index <HASH>..<HASH> 100644 --- a/tests/config.php +++ b/tests/config.php @@ -35,9 +35,11 @@ if (!class_exists('PHPTAL')) { abstract class PHPTAL_TestCase extends PHPUnit_Framework_TestCase { - private $cwd_backup; + private $cwd_backup, $buffer_level; fun...
Added check for unflushed output buffers
phptal_PHPTAL
train
php
9d61a87688d4f3c70365a035ad24461daa129739
diff --git a/app/app.go b/app/app.go index <HASH>..<HASH> 100644 --- a/app/app.go +++ b/app/app.go @@ -1047,7 +1047,7 @@ func (app *App) LastLogs(lines int, filterLog Applog) ([]Applog, error) { if filterLog.Unit != "" { q["unit"] = filterLog.Unit } - err = conn.Logs(app.Name).Find(q).Sort("-$natural").Limit(lin...
app: sorting logs by _id instead of $natural This is due to <URL>
tsuru_tsuru
train
go
066064a3da2af0d60987f98462f4f67bdb06155d
diff --git a/wptools/utils.py b/wptools/utils.py index <HASH>..<HASH> 100644 --- a/wptools/utils.py +++ b/wptools/utils.py @@ -115,6 +115,12 @@ def strip_refs(blob): return re.sub(r"\[\d+\](:\d+)?", "", blob) +def wiki_path(title): + title = title.replace(" ", "_") + title = title[0].upper() + title[1:] ...
added wiki_path() to utils.
siznax_wptools
train
py
3f71131de8353594a33f367ae06a4478358ba2e2
diff --git a/spec/project_haystack/point_spec.rb b/spec/project_haystack/point_spec.rb index <HASH>..<HASH> 100644 --- a/spec/project_haystack/point_spec.rb +++ b/spec/project_haystack/point_spec.rb @@ -39,11 +39,10 @@ describe ProjectHaystack::Point do describe '#data' do context 'valid id and range' do ...
use date that is known to have data
NREL_haystack_ruby
train
rb
8aa0f2aeb73e8916bedade8928a118f293257d2e
diff --git a/lib/weather-report.rb b/lib/weather-report.rb index <HASH>..<HASH> 100644 --- a/lib/weather-report.rb +++ b/lib/weather-report.rb @@ -9,7 +9,8 @@ module WeatherReport attr_reader :today, :tomorrow, :day_after_tomorrow def initialize(city) - @uri = URI.parse("http://weather.livedoor.com/for...
now it can use name of the city to get weather
zakuni_weather-report
train
rb
cff7bffbaf17a093d36e038e702fda3dfcef8c65
diff --git a/bxml/xml.py b/bxml/xml.py index <HASH>..<HASH> 100644 --- a/bxml/xml.py +++ b/bxml/xml.py @@ -263,8 +263,7 @@ class XML(File): cmd.pop(cmd.index('-c')) try: fn = self.fn - tempf = None - if fn is None: + if fn ...
XML.jing() now handles the case where the XML.fn is not None but the file doesn't exist – in this case as when XML.fn is None, a tempfile is written for jing to use.
BlackEarth_bxml
train
py
5d229748112f9d6db58880e4c9906d8a3697b61a
diff --git a/src/cluster/shard.go b/src/cluster/shard.go index <HASH>..<HASH> 100644 --- a/src/cluster/shard.go +++ b/src/cluster/shard.go @@ -180,6 +180,7 @@ func (self *ShardData) ServerIds() []uint32 { } func (self *ShardData) SyncWrite(request *p.Request) error { + request.ShardId = &self.id if err := self.st...
fixup! make writes synchronous for continuous queries
influxdata_influxdb
train
go
b70c1cc749fe769f57263128f0d9a510b3f5d604
diff --git a/forms/gridfield/GridFieldBlogPostAddNewButton.php b/forms/gridfield/GridFieldBlogPostAddNewButton.php index <HASH>..<HASH> 100755 --- a/forms/gridfield/GridFieldBlogPostAddNewButton.php +++ b/forms/gridfield/GridFieldBlogPostAddNewButton.php @@ -57,7 +57,7 @@ class GridFieldBlogPostAddNewButton extends Gri...
FIX: Prevent change tracking when picking a different blog post type
micmania1_silverstripe-blogger
train
php
1d6fbab80078568d493f9f29fc880cb24b6b15f4
diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js +++ b/bundles/org.eclipse.orion.client.ui/web/orion/projectCommands.js @@ -1...
Bug <I> - [Project] When requesting for extra params we should be able to force to show message
eclipse_orion.client
train
js
8274bbf9c85bda410dc7dcb8612cba59ec8d30cc
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/projects_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/projects_controller.rb index <HASH>..<HASH> 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/projects_controller.rb +++ b/sonar-server/src/main/web...
SONAR-<I> Keep previous behaviour on web service
SonarSource_sonarqube
train
rb
106065271da7bc086b749d0bd8ab0e34875e2baf
diff --git a/src/main/org/openscience/cdk/templates/AminoAcids.java b/src/main/org/openscience/cdk/templates/AminoAcids.java index <HASH>..<HASH> 100644 --- a/src/main/org/openscience/cdk/templates/AminoAcids.java +++ b/src/main/org/openscience/cdk/templates/AminoAcids.java @@ -108,7 +108,7 @@ public class AminoAcids {...
AminoAcidCountDescriptor constructor made thread safe
cdk_cdk
train
java
0b4db582115536e171c7231992e268fb0210e045
diff --git a/liquibase-core/src/main/java/liquibase/snapshot/jvm/SequenceSnapshotGenerator.java b/liquibase-core/src/main/java/liquibase/snapshot/jvm/SequenceSnapshotGenerator.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/snapshot/jvm/SequenceSnapshotGenerator.java +++ b/liquibase-core/s...
Name not cleaned correctly in snapshotObject method
liquibase_liquibase
train
java
7d33378b905cc733c77ff306b3efa29f964e0e94
diff --git a/lib/specjour/worker.rb b/lib/specjour/worker.rb index <HASH>..<HASH> 100644 --- a/lib/specjour/worker.rb +++ b/lib/specjour/worker.rb @@ -50,7 +50,7 @@ module Specjour def run_test(test) puts "Running #{test}" - if test =~ /.feature/ + if test =~ /\.feature$/ run_feature te...
Strictly match cucumber features The previous regex allowed for example showcase_feature_spec.rb to be run by cucumber
sandro_specjour
train
rb
f0e786181240c8874f6a2e52fac4a32f06d4657c
diff --git a/code/service/querybuilders/SolrQueryBuilder.php b/code/service/querybuilders/SolrQueryBuilder.php index <HASH>..<HASH> 100644 --- a/code/service/querybuilders/SolrQueryBuilder.php +++ b/code/service/querybuilders/SolrQueryBuilder.php @@ -41,7 +41,11 @@ class SolrQueryBuilder { } public function parse...
BUGFIX: Allow freeform queries to be specified if the user knows how
nyeholt_silverstripe-solr
train
php
fcfda5d71794c967b0369cde3d5940466ac2abb6
diff --git a/lib/cielo/http.rb b/lib/cielo/http.rb index <HASH>..<HASH> 100644 --- a/lib/cielo/http.rb +++ b/lib/cielo/http.rb @@ -8,8 +8,10 @@ module Cielo http = Net::HTTP.new(host, port) http.use_ssl = true + http.ssl_version = :TLSv1 http.open_timeout = 10 * 1000 http.read_timeout...
set ssl version and verify mode
rafaelss_cielo
train
rb
b048b261f3951717de26f0ff997d52f1fe8e585c
diff --git a/tests/frontend/org/voltdb/AdhocDDLTestBase.java b/tests/frontend/org/voltdb/AdhocDDLTestBase.java index <HASH>..<HASH> 100644 --- a/tests/frontend/org/voltdb/AdhocDDLTestBase.java +++ b/tests/frontend/org/voltdb/AdhocDDLTestBase.java @@ -57,7 +57,12 @@ public class AdhocDDLTestBase extends TestCase { ...
ENG-<I> - Fix other ad hoc DDL unit tests that got broken
VoltDB_voltdb
train
java
75371c0388082ab9f74bd8613b9e20192d03d660
diff --git a/Gruntfile.js b/Gruntfile.js index <HASH>..<HASH> 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -110,8 +110,10 @@ module.exports = function (grunt) { var files = grunt.file.expand(['lib/checks/**/*.json']); files.forEach(function (file) { var src = grunt.file.readJSON(file); - src.type = src.r...
Don't overwrite type if result doesn't exist
dequelabs_axe-core
train
js
d5fb4da64012253f5178b0e5ef49fc23f93e221f
diff --git a/pyvista/plotting/picking.py b/pyvista/plotting/picking.py index <HASH>..<HASH> 100644 --- a/pyvista/plotting/picking.py +++ b/pyvista/plotting/picking.py @@ -124,6 +124,8 @@ class PickingHelper: # render here prior to running the callback self_().render() + el...
remove viz of last picked cell after clicking outside the mesh (#<I>) Resolve <URL>
vtkiorg_vtki
train
py
94eeb80f069cd227a92466d9898c7ec22fd0e0f8
diff --git a/luigi/worker.py b/luigi/worker.py index <HASH>..<HASH> 100644 --- a/luigi/worker.py +++ b/luigi/worker.py @@ -126,10 +126,10 @@ class TaskProcess(multiprocessing.Process): raise except BaseException as ex: status = FAILED - logger.exception("[pid %s][host %] Wo...
Fixed bug introduced in #<I> TaskProcess has no attribute host, not sure why nosetests ran
spotify_luigi
train
py
32fb09296baf4e2bf111bedc8d07593ef3442ccf
diff --git a/plugins/src/kg/apc/jmeter/vizualizers/JPerfmonParamsDialog.java b/plugins/src/kg/apc/jmeter/vizualizers/JPerfmonParamsDialog.java index <HASH>..<HASH> 100644 --- a/plugins/src/kg/apc/jmeter/vizualizers/JPerfmonParamsDialog.java +++ b/plugins/src/kg/apc/jmeter/vizualizers/JPerfmonParamsDialog.java @@ -241,1...
Prefill wizard dialog with existing param String - accept any order for metric place
undera_jmeter-plugins
train
java
a875190db7b6aa95eb29bb7e24345fbe3ed9214d
diff --git a/model/AssignmentFactory.php b/model/AssignmentFactory.php index <HASH>..<HASH> 100644 --- a/model/AssignmentFactory.php +++ b/model/AssignmentFactory.php @@ -37,12 +37,15 @@ class AssignmentFactory private $user; private $startable; - - public function __construct(\core_kernel_classe...
allow to diplay or not # of attempts and handle maxexecs as strings
oat-sa_extension-tao-delivery-rdf
train
php
e1f0ba85e62f3da7d1ef978a078d928c7040e7ea
diff --git a/facepy/graph_api.py b/facepy/graph_api.py index <HASH>..<HASH> 100755 --- a/facepy/graph_api.py +++ b/facepy/graph_api.py @@ -134,7 +134,7 @@ class GraphAPI(object): yield data - def _query(self, method, path, data={}, page=False): + def _query(self, method, path, data=None, page=Fal...
Avoid using mutables as default arguments See 'Principle of Least Astonishment in Python: The Mutable Default Argument' for really good references on why you should avoid assigning a mutable as a default argument unless you really really know what you are doing. * <URL>
jgorset_facepy
train
py
8e9da6a6d6e2d6395211003ed880b712a2304779
diff --git a/lark/parsers/grammar_analysis.py b/lark/parsers/grammar_analysis.py index <HASH>..<HASH> 100644 --- a/lark/parsers/grammar_analysis.py +++ b/lark/parsers/grammar_analysis.py @@ -38,7 +38,7 @@ class RulePtr(object): def update_set(set1, set2): - if not set2: + if not set2 or set1 > set2: ...
Minor optimization in LALR (and fix for last commit)
lark-parser_lark
train
py
b21b89bdb9486cc1ba9996dbc7aa96eebfddde3f
diff --git a/alpaca_trade_api/__init__.py b/alpaca_trade_api/__init__.py index <HASH>..<HASH> 100644 --- a/alpaca_trade_api/__init__.py +++ b/alpaca_trade_api/__init__.py @@ -1,4 +1,4 @@ from .rest import REST # noqa from .stream2 import StreamConn # noqa -__version__ = '0.43' +__version__ = '0.44' diff --git a/s...
Add missing package declaration in setup.py
alpacahq_alpaca-trade-api-python
train
py,py
984e25a4c196016370a25e678168db4a9f1e5ad8
diff --git a/app/deploy.go b/app/deploy.go index <HASH>..<HASH> 100644 --- a/app/deploy.go +++ b/app/deploy.go @@ -291,10 +291,14 @@ func incrementDeploy(app *App) error { return err } defer conn.Close() - return conn.Apps().Update( + err = conn.Apps().Update( bson.M{"name": app.Name}, bson.M{"$inc": bson....
app: increment deploys in app pointer for consistency
tsuru_tsuru
train
go,go
32106519b647573bbc36d953fe6855d57565be36
diff --git a/src/Client/Client.php b/src/Client/Client.php index <HASH>..<HASH> 100644 --- a/src/Client/Client.php +++ b/src/Client/Client.php @@ -23,7 +23,7 @@ use Yproximite\Ekomi\Api\Proxy\CacheProxy; */ class Client { - const BASE_URL = 'https://csv.ekomi.com/api/3.0'; + const BASE_URL = 'https://csv.ekom...
Update Client::BASE_URL
Yproximite_ekomi-api
train
php
7e4b72a1d6946ec0203af472140e07581b51a703
diff --git a/tests/test_views.py b/tests/test_views.py index <HASH>..<HASH> 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -4,6 +4,7 @@ from mock import patch import os from django.test import TestCase, RequestFactory +from django.utils.six.moves.urllib.parse import ParseResult from revproxy.excep...
Added test for parsed_url
TracyWebTech_django-revproxy
train
py
8b1f69ea77bd9d77cbe87b076d28a12cd1a65cca
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,7 @@ Swig.prototype._w = Swig.prototype._widget = function(api, id, attr, options) { return function(locals) { api.addPagelet({ - 'for': attr['for'], + container: attr['container...
renmae for to container
fex-team_yog-swig
train
js
646e2e66cc78a9657f2797f5d749b18e74f02537
diff --git a/watson_developer_cloud/speech_to_text_v1.py b/watson_developer_cloud/speech_to_text_v1.py index <HASH>..<HASH> 100644 --- a/watson_developer_cloud/speech_to_text_v1.py +++ b/watson_developer_cloud/speech_to_text_v1.py @@ -27,7 +27,7 @@ class SpeechToTextV1(WatsonDeveloperCloudService): WatsonDevel...
Prevent continuous from getting passed by default
watson-developer-cloud_python-sdk
train
py
d137d3bd268246ec214cf2abc721f137f6ae6948
diff --git a/glances/compat.py b/glances/compat.py index <HASH>..<HASH> 100644 --- a/glances/compat.py +++ b/glances/compat.py @@ -31,16 +31,10 @@ from glances.logger import logger PY3 = sys.version_info[0] == 3 -try: - from statistics import mean -except ImportError: - # Statistics is only available for Pyt...
Unconditionally use statistics module since we support Python <I>+ now
nicolargo_glances
train
py
657623aea63e5edcd523ca532c44af3e9a9c7abf
diff --git a/spec/statsd/sender_spec.rb b/spec/statsd/sender_spec.rb index <HASH>..<HASH> 100644 --- a/spec/statsd/sender_spec.rb +++ b/spec/statsd/sender_spec.rb @@ -54,8 +54,16 @@ describe Datadog::Statsd::Sender do it 'starts a worker thread and a flush timer thread' do mutex = Mutex.new cv ...
Fix test of Datadog::Statsd::Sender#start In the test, even if `flush` isn't called, it still succeeds because `stop` calls `flush`. This commit makes the test work expectedly.
DataDog_dogstatsd-ruby
train
rb
b18b568d78ecb73ae3c687e85ad2992db06a850b
diff --git a/fmn/rules/generic.py b/fmn/rules/generic.py index <HASH>..<HASH> 100644 --- a/fmn/rules/generic.py +++ b/fmn/rules/generic.py @@ -45,21 +45,20 @@ def package_filter(config, message, package=None, *args, **kw): def trac_hosted_filter(config, message, project=None, *args, **kw): """ Filter the messages...
Update the generic filter for Fedora Hosted projects This takes into account the suggestions of @ralphbean
fedora-infra_fmn.rules
train
py
d15b6059ee2e9e624d3ccc281a6cf622b2407f91
diff --git a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/fetcher/HdfsFetcher.java b/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/fetcher/HdfsFetcher.java index <HASH>..<HASH> 100644 --- a/contrib/hadoop-store-builder/src/java/voldemort/store/readonly/fetcher/HdfsFetcher.java +++ b/c...
Updating the checksum code to handle computation for a buffer range
voldemort_voldemort
train
java
35ee8de8e84258d14668d9379227faf09096e6b3
diff --git a/lib/sprockets/context.rb b/lib/sprockets/context.rb index <HASH>..<HASH> 100644 --- a/lib/sprockets/context.rb +++ b/lib/sprockets/context.rb @@ -2,7 +2,6 @@ require 'pathname' require 'rack/utils' require 'set' require 'sprockets/errors' -require 'sprockets/utils' module Sprockets # Deprecated: `...
Context doesn't use sprocket utils
rails_sprockets
train
rb
3f2d0a45d86793ae99d9c6806a53ca99fafe6430
diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py index <HASH>..<HASH> 100644 --- a/tests/test_pytest_cov.py +++ b/tests/test_pytest_cov.py @@ -513,7 +513,6 @@ def test_cover_looponfail(testdir, monkeypatch): monkeypatch.setattr(testdir, 'run', lambda *args: TestProcess(*map(str, args))) with t...
improved test for #<I> to check second regression
pytest-dev_pytest-cov
train
py
f8dee054130872f1ecec41c94ae5ffe7aa9c24a9
diff --git a/Handler/RequestPaginationHandler.php b/Handler/RequestPaginationHandler.php index <HASH>..<HASH> 100644 --- a/Handler/RequestPaginationHandler.php +++ b/Handler/RequestPaginationHandler.php @@ -72,13 +72,12 @@ class RequestPaginationHandler implements PaginationHandlerInterface */ public functio...
Improve url generation for pagination component
MindyPHP_Pagination
train
php
3a66083c496061dbf16e773d49ef3f48b7daab9e
diff --git a/lib/sht_rails/engine.rb b/lib/sht_rails/engine.rb index <HASH>..<HASH> 100644 --- a/lib/sht_rails/engine.rb +++ b/lib/sht_rails/engine.rb @@ -4,10 +4,10 @@ module ShtRails app.paths['app/views'] << ShtRails.template_base_path end - initializer "sprockets.smt_rails", :after => "sprocket...
fixed typo with smt_rails was killing sprockets settings integration
railsware_sht_rails
train
rb
1447f1a89201d982375cc348bf8a0274d60e4f4c
diff --git a/test/kerberos_tests.js b/test/kerberos_tests.js index <HASH>..<HASH> 100644 --- a/test/kerberos_tests.js +++ b/test/kerberos_tests.js @@ -7,8 +7,9 @@ const SegfaultHandler = require('segfault-handler'); SegfaultHandler.registerHandler(); chai.use(require('chai-string')); +// environment variables cons...
test(check-password): include test for the `checkPassword` api
mongodb-js_kerberos
train
js
69e21373cd5bf4da823958f9c1163ff70548ca55
diff --git a/src/Jobs/Repository/Job.php b/src/Jobs/Repository/Job.php index <HASH>..<HASH> 100644 --- a/src/Jobs/Repository/Job.php +++ b/src/Jobs/Repository/Job.php @@ -56,6 +56,15 @@ class Job extends AbstractRepository implements EntityBuilderAwareInterface return $collection; } + public ...
[Applications] Adds sort columns abilities to applications list.
yawik_jobs
train
php,php
fe71cbcdf09618307b594a28431dc6fa1a6c08d0
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index <HASH>..<HASH> 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -952,6 +952,11 @@ class Chef if name != NOT_PASSED if name @resource_name = name.to_sym + name = name.to_sym + # FIXME: determine a w...
add back magical wiring up from resource_name to provides <I>% of resources on the supermarket only declare resource_name and never call provides, which is consistent with our documentation.
chef_chef
train
rb
e1d06631534a48c32acf11c1b18fbb3f6f923ea8
diff --git a/xchange-cexio/src/main/java/org/knowm/xchange/cexio/CexIOAdapters.java b/xchange-cexio/src/main/java/org/knowm/xchange/cexio/CexIOAdapters.java index <HASH>..<HASH> 100644 --- a/xchange-cexio/src/main/java/org/knowm/xchange/cexio/CexIOAdapters.java +++ b/xchange-cexio/src/main/java/org/knowm/xchange/cexio/...
[CexIO] another NPE guard
knowm_XChange
train
java
06d2c569e347467dddd2dee2ab3c7cab747e7d15
diff --git a/chess/uci.py b/chess/uci.py index <HASH>..<HASH> 100644 --- a/chess/uci.py +++ b/chess/uci.py @@ -78,8 +78,8 @@ class InfoHandler(object): >>> class MyHandler(chess.uci.InfoHandler): ... def post_info(self): ... # Called whenever a complete *info* line has been processed. - .....
Fix lock release in InfoHandler docs
niklasf_python-chess
train
py
662a90a830f1a8303e4e32570465491eecf2395b
diff --git a/client.go b/client.go index <HASH>..<HASH> 100644 --- a/client.go +++ b/client.go @@ -521,7 +521,9 @@ func (c *client) closeStop() { case <-c.stop: DEBUG.Println("In disconnect and stop channel is already closed") default: - close(c.stop) + if c.stop != nil { + close(c.stop) + } } }
Fixed "close of nil channel" when calling Stop() on a not connected client
eclipse_paho.mqtt.golang
train
go
9218c263ae421a7942af3990f17469959f78bae1
diff --git a/src/node/basic-node.js b/src/node/basic-node.js index <HASH>..<HASH> 100644 --- a/src/node/basic-node.js +++ b/src/node/basic-node.js @@ -22,6 +22,10 @@ class Node { * @return {Boolean} Whether there is a child node of given type */ contains(type) { + if (!Array.isArray(this.content))...
fix(node): add guard around node.contains
tonyganch_gonzales-pe
train
js
6739fba02e362d10ecf74f83d6ec47a7b43ea5aa
diff --git a/openfisca_core/periods.py b/openfisca_core/periods.py index <HASH>..<HASH> 100644 --- a/openfisca_core/periods.py +++ b/openfisca_core/periods.py @@ -898,7 +898,7 @@ def period(value): raise_error(value) # reject ambiguous period such as month:2014 - if base_period.unit == YEAR and unit ...
Don't allow ambigious division of periods
openfisca_openfisca-core
train
py
5d75e0c1ba87069b6a48f1b37757f2f4faa08635
diff --git a/src/gql/resolvers/elements/SuperTableBlock.php b/src/gql/resolvers/elements/SuperTableBlock.php index <HASH>..<HASH> 100644 --- a/src/gql/resolvers/elements/SuperTableBlock.php +++ b/src/gql/resolvers/elements/SuperTableBlock.php @@ -11,7 +11,7 @@ class SuperTableBlock extends ElementResolver /** ...
Craft <I> - Fix return type of prepareQuery to be mixed - Useless import of SuperTableBlockType clashes with the class being defined.
verbb_super-table
train
php,php
0c2d5adc00592139fda8901457bc3f81d1977e35
diff --git a/integration/shared/isolated/help_command_test.go b/integration/shared/isolated/help_command_test.go index <HASH>..<HASH> 100644 --- a/integration/shared/isolated/help_command_test.go +++ b/integration/shared/isolated/help_command_test.go @@ -1,5 +1,3 @@ -// +build !partialPush - package isolated import...
separate environment help text checking into multiple lines This is to allow additional environment variables in the help display for push command.
cloudfoundry_cli
train
go
7f6671628d4788c76784f5b265aabddb7e560690
diff --git a/forms/UploadField.php b/forms/UploadField.php index <HASH>..<HASH> 100644 --- a/forms/UploadField.php +++ b/forms/UploadField.php @@ -281,7 +281,7 @@ class UploadField extends FileField { )); // we do this in a second customise to have the access to the previous customisations return $file->custom...
"UploadFieldFileButtons" casting (regression from casting changes) Caused the UploadField rows to show "[Object object]" because it tried to pass through a PHP object to JS without string casting (the return used to be a string).
silverstripe_silverstripe-framework
train
php
83417ef8093c098a416734007ce088ab39b17248
diff --git a/test/Transaction/CreditCardTransactionUTest.php b/test/Transaction/CreditCardTransactionUTest.php index <HASH>..<HASH> 100644 --- a/test/Transaction/CreditCardTransactionUTest.php +++ b/test/Transaction/CreditCardTransactionUTest.php @@ -510,7 +510,7 @@ class CreditCardTransactionUTest extends \PHPUnit_Fra...
#<I> Update CreditCardTransaction tests
wirecard_paymentSDK-php
train
php
01cd27122900720580ea1e2e1ee96220050292da
diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index <HASH>..<HASH> 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -6973,7 +6973,7 @@ func validateServices(t *Task, tgNetworks Networks) error { } } - // Get the set of port labels. + // Get the set of group port labels. ...
nomad/structs: validate deprecated task.resource.network port labels Enable users to submit jobs that still make use of the deprecated task.resources.network stanza. Such jobs can be submitted, but will emit a warning.
hashicorp_nomad
train
go
745cf96ed14fbc4dab9622eba20467108175f838
diff --git a/actor/base/src/main/java/org/getopentest/Main.java b/actor/base/src/main/java/org/getopentest/Main.java index <HASH>..<HASH> 100644 --- a/actor/base/src/main/java/org/getopentest/Main.java +++ b/actor/base/src/main/java/org/getopentest/Main.java @@ -30,6 +30,7 @@ public class Main { OptionParser p...
feat(actor): add "decrypt" command line option
mcdcorp_opentest
train
java
ea43993bf7755dbfc7c1c81bfbc356f4682e53d6
diff --git a/test/common/util/Cookie.js b/test/common/util/Cookie.js index <HASH>..<HASH> 100644 --- a/test/common/util/Cookie.js +++ b/test/common/util/Cookie.js @@ -5,7 +5,7 @@ var cookie = new Cookie(); module.exports = { - parseCookie: function (test) { + 'Cookie.prototype.parse': function (test) { ...
<I>.x: refactor Cookie tests
fistlabs_fist
train
js
0b2e30f0cb16041db1d08571a0dd0b42ba8f49c5
diff --git a/lib/rubocop/cli.rb b/lib/rubocop/cli.rb index <HASH>..<HASH> 100644 --- a/lib/rubocop/cli.rb +++ b/lib/rubocop/cli.rb @@ -179,7 +179,14 @@ module Rubocop rb << files.select { |file| File.extname(file) == '.rb' } rb << files.select do |file| File.extname(file) == '' && - File.o...
Don't fail when unable to parse a file When files don't end in .rb, we check if the file has the ruby hashbang at the top This commit rescues errors caused by empty or unreadable files (EOFError) or unparseable files (ArgumentError) such as invalid UTF-8 character string Rubcop may now continue checking for ruby fil...
rubocop-hq_rubocop
train
rb
df8e1e400d9371392185e2b13e20979b8cd6233c
diff --git a/setup/run_once.py b/setup/run_once.py index <HASH>..<HASH> 100644 --- a/setup/run_once.py +++ b/setup/run_once.py @@ -36,8 +36,7 @@ def controller_create(): return r.db_create("Controller").run() def controller_plugins_create(): - return r.db("Controller").table_create("Plugins", - primary...
deprecate controller code in query package
ramrod-project_database-brain
train
py
0c6b7949fe8d192702a445d401766447b720ada0
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index <HASH>..<HASH> 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -703,10 +703,13 @@ class DataFrame(NDFrame): self.to_string(buf=buf) else: width, _ = fmt.get_console_size() - max_rows = get_option...
BUG: restore <I> expand_repr behaviour, only for < max_cols, if wider then term GH<I>
pandas-dev_pandas
train
py
b5a6a77e0d04b99e31387e76d6d6b50d63f607f4
diff --git a/salesforce/models.py b/salesforce/models.py index <HASH>..<HASH> 100644 --- a/salesforce/models.py +++ b/salesforce/models.py @@ -13,6 +13,7 @@ column names are all in CamelCase. No attempt is made to work around this issue, but normal use of `db_column` and `db_table` parameters should work. """ +from...
Migrations: Minimal support for intercompatibility between Python 2 and 3. Otherwise it is impossible to apply a migration under Python 3 that has been created under Python <I> with Django <I>.
django-salesforce_django-salesforce
train
py,py
0efc12b6a1790a4d4f732ac2d208ceb5c22450f3
diff --git a/admin_trees_config.php b/admin_trees_config.php index <HASH>..<HASH> 100644 --- a/admin_trees_config.php +++ b/admin_trees_config.php @@ -728,19 +728,17 @@ echo WT_JS_START;?> if ($row->xref) { $record=WT_GedcomRecord::getInstance($row->xref); if ($record) { - $name=$record->getFullNa...
#<I> - Sorting of the Gedcom Privacy Restrriction List
fisharebest_webtrees
train
php
63985ac3e83fac35a1f5e4ac74462e1665512ff7
diff --git a/lib/mini_magick/image.rb b/lib/mini_magick/image.rb index <HASH>..<HASH> 100644 --- a/lib/mini_magick/image.rb +++ b/lib/mini_magick/image.rb @@ -448,6 +448,10 @@ module MiniMagick end end + def destroy! + @tempfile.unlink if @tempfile + end + private # Sometimes we get...
Bring back MiniMagick::Image#destroy! CarrierWave uses that method, and maybe some others, so we still need to keep backwards compatibility.
minimagick_minimagick
train
rb
628d1345cb5b09d90b087ae23d5caf26b25a2e7d
diff --git a/irc3/__init__.py b/irc3/__init__.py index <HASH>..<HASH> 100644 --- a/irc3/__init__.py +++ b/irc3/__init__.py @@ -153,7 +153,7 @@ class IrcBot(base.IrcObject): def send_line(self, data): """send a line to the server. replace CR by spaces""" - self.send(data.replace('\n', ' ')) + ...
CRs are also valid line separators per RFC <I>
gawel_irc3
train
py
3bf63de781189cb34d761db65d6098e6045e33b3
diff --git a/blade-core/src/main/java/com/hellokaton/blade/mvc/ui/ModelAndView.java b/blade-core/src/main/java/com/hellokaton/blade/mvc/ui/ModelAndView.java index <HASH>..<HASH> 100644 --- a/blade-core/src/main/java/com/hellokaton/blade/mvc/ui/ModelAndView.java +++ b/blade-core/src/main/java/com/hellokaton/blade/mvc/ui...
:zap: model initiation cap=2
lets-blade_blade
train
java
17fba07500aae1ffc237a913a6039f54a01275cb
diff --git a/mintapi/api.py b/mintapi/api.py index <HASH>..<HASH> 100644 --- a/mintapi/api.py +++ b/mintapi/api.py @@ -1023,7 +1023,11 @@ class Mint(object): for budget in budgets[direction]: category = self.get_category_object_from_id(budget['cat'], categories) ...
fix: :bug: Fix for 'string indices must be integers' The 'Uncategorized' budget's parent is a string not a dict. Probably only affects those who put a specific limit on uncategorized. Refs #<I>
mrooney_mintapi
train
py
a87ad9e405ad16422fe066026c24df818882b3c4
diff --git a/src/Fields/Base/Element.php b/src/Fields/Base/Element.php index <HASH>..<HASH> 100644 --- a/src/Fields/Base/Element.php +++ b/src/Fields/Base/Element.php @@ -398,15 +398,15 @@ abstract class Element implements FormElement */ protected function getValue() { - if ($value = $this->force...
Use isset() insted of !empty()
laraplus_form
train
php